# $Id: PKGBUILD 3555 2009-10-05 19:50:18Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Allan Henriksen pkgname=ipsec-tools pkgver=0.7.3 pkgrel=1 pkgdesc="KAME IPSec tools ported to Linux" arch=('i686' 'x86_64') url="http://ipsec-tools.sourceforge.net/" depends=('readline' 'openssl') license=('GPL') options=('!makeflags' '!libtool') source=(http://downloads.sourceforge.net/sourceforge/ipsec-tools/$pkgname-$pkgver.tar.bz2 racoon.rc) md5sums=('821bd84e8d4ad5a93bf594b8b3d66e1e' 'a9d89177f0eecd1df4fbe21c201ee046') build() { cd $startdir/src/$pkgname-$pkgver sed -i 's#-Werror##' configure ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --enable-security-context=no --enable-hybrid --enable-dpd --enable-natt \ --enable-adminport make || return 1 make DESTDIR=$startdir/pkg install || return 1 install -Dm0755 $srcdir/racoon.rc $pkgdir/etc/rc.d/racoon }