summaryrefslogtreecommitdiff
path: root/community/pptpd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pptpd/PKGBUILD')
-rw-r--r--community/pptpd/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/pptpd/PKGBUILD b/community/pptpd/PKGBUILD
new file mode 100644
index 000000000..04f5dbcb6
--- /dev/null
+++ b/community/pptpd/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 31992 2010-11-08 21:12:41Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=pptpd
+pkgver=1.3.4
+pkgrel=3
+pkgdesc="Poptop server"
+arch=(i686 x86_64)
+url="http://poptop.sourceforge.net/"
+license=('GPL')
+depends=(ppp glibc)
+backup=(etc/pptpd.conf)
+source=(http://downloads.sourceforge.net/sourceforge/poptop/pptpd-$pkgver.tar.gz
+ pptpd)
+md5sums=('b38df9c431041922c997c1148bedf591'
+ 'e09f81beb5d59a0fdfba94e3a60d992b')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ autoreconf -i
+ ./configure --prefix=/usr --libdir=/usr/lib --exec-prefix=/usr --mandir=/usr/share
+
+ make
+
+ sed -i 's|install -o root|install|g' plugins/Makefile
+ sed -i 's|?=|=|g' plugins/Makefile
+ make DESTDIR=$pkgdir install
+
+ mkdir -p $pkgdir/etc/
+ echo "# Read man pptpd.conf and write your pptpd configuration here" >$pkgdir/etc/pptpd.conf
+ install -D -m0755 ../pptpd $pkgdir/etc/rc.d/pptpd
+}