updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / rp-l2tp / PKGBUILD
blob7e4301456d553c6c6e902b5b06cdff1461a642db
1 # Contributor: Georgij Kondratjev <smpuj@bk.ru>
2 pkgname=rp-l2tp
3 pkgver=0.4
4 pkgrel=2
5 pkgdesc="A user-space implementation of L2TP"
6 arch=("i686" "x86_64")
7 url="http://sourceforge.net/projects/rp-l2tp/"
8 license=("GPL")
9 depends=(ppp)
10 makedepends=(gcc diffutils)
11 provides=("l2tpd")
12 conflicts=("l2tpd")
13 replaces=()
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')
20 build() {
21         cd $startdir/src/$pkgname-$pkgver
22         patch -Np1 <../dns.patch
23         ./configure --prefix=/usr
24         make || return 1
25         make RPM_INSTALL_ROOT=$startdir/pkg install
26         install -Dm755 ../rc.l2tp $startdir/pkg/etc/rc.d/l2tp
28 # vim: ts=2