summaryrefslogtreecommitdiff
path: root/community/pppd-ldap/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pppd-ldap/PKGBUILD')
-rw-r--r--community/pppd-ldap/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/community/pppd-ldap/PKGBUILD b/community/pppd-ldap/PKGBUILD
index b974f3e57..9fe5aaed2 100644
--- a/community/pppd-ldap/PKGBUILD
+++ b/community/pppd-ldap/PKGBUILD
@@ -1,15 +1,16 @@
-# $Id: PKGBUILD 2636 2009-09-19 18:21:47Z ibiru $
+# $Id: PKGBUILD 55777 2011-09-20 06:52:16Z andrea $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=pppd-ldap
pkgver=0.12b
-pkgrel=2
-pkgdesc="pppd ldap plugin"
+pkgrel=3
+pkgdesc="A plugin for PPPD which performs an LDAP-enabled version of pppd"
arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/pppd-ldap/"
license=('GPL')
-depends=('ppp' 'libldap>=2.4.18')
-options=(docs)
-source=(http://downloads.sourceforge.net/sourceforge/pppd-ldap/pppd_ldap-$pkgver.tgz)
+depends=('ppp' 'libldap')
+options=('docs')
+source=("http://downloads.sourceforge.net/${pkgname}/pppd_ldap-$pkgver.tgz")
md5sums=('4d13596297c2728f3cfe0a097c97d8fc')
build() {
@@ -30,8 +31,11 @@ diff pppd_ldap-0.12b/utmplib.c pppd_ldap-0.12b.my/utmplib.c
> buf = (char*)buf + rc;
EOF
- make CFLAGS="-I/usr/include/pppd -fPIC" || return 1
+ make CFLAGS="-I/usr/include/pppd -fPIC"
+}
- install -D -m0755 pppd_ldap.so $pkgdir/usr/lib/pppd/2.4.4/pppd_ldap.so && \
+package() {
+ cd "$srcdir/pppd_ldap-$pkgver"
+ install -D -m0755 pppd_ldap.so $pkgdir/usr/lib/pppd/2.4.4/pppd_ldap.so
install -D -m0755 README $pkgdir/usr/share/doc/pppd-ldap/README
}