diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/pppd-ldap-simple |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/pppd-ldap-simple')
-rw-r--r-- | community/pppd-ldap-simple/PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/pppd-ldap-simple/PKGBUILD b/community/pppd-ldap-simple/PKGBUILD new file mode 100644 index 000000000..9511d9b2d --- /dev/null +++ b/community/pppd-ldap-simple/PKGBUILD @@ -0,0 +1,20 @@ +# $Id: PKGBUILD 33063 2010-11-22 11:07:15Z spupykin $ + +pkgname=pppd-ldap-simple +pkgver=0.12b +pkgrel=5 +pkgdesc="pppd ldap simple plugin (based on pppd ldap, without radius, etc. Just search by uid and userPassword)" +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/pppd-ldap/" +license=('GPL') +source=(http://archlinux-stuff.googlecode.com/files/pppd_ldap-simple-$pkgver.tar.gz) +md5sums=('e47b7fb5119a1024e188ec22351672cd') + +build() { + _pppdver=`pacman -Q ppp | cut -d\ -f 2 | cut -f 1 -d -` + depends=("ppp=${_pppdver}" 'libldap>=2.4.18') + + cd "$srcdir/pppd_ldap-simple-$pkgver" + make CFLAGS="-I/usr/include/pppd -fPIC" + install -D -m0755 pppd_ldap.so $pkgdir/usr/lib/pppd/${_pppdver}/pppd_ldap_simple.so +} |