1 # Contributor: Georgij Kondratjev <smpuj@bk.ru>
5 pkgdesc="A user-space implementation of L2TP"
7 url="http://sourceforge.net/projects/rp-l2tp/"
10 makedepends=(gcc diffutils)
14 backup=("etc/rc.d/l2tp")
15 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" "dns.patch" "rc.l2tp")
16 md5sums=('0e45d11cb4fa6c56cce6b1d119733ed9'
17 'e9c2b43800d4ed9bc1d89c91fd6159d8'
18 '03a05b70293fef7f872cadac6264a461')
21 cd $startdir/src/$pkgname-$pkgver
22 patch -Np1 <../dns.patch
23 ./configure --prefix=/usr
25 make RPM_INSTALL_ROOT=$startdir/pkg install
26 install -Dm755 ../rc.l2tp $startdir/pkg/etc/rc.d/l2tp