From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/pppd-ldap-simple/PKGBUILD | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 community/pppd-ldap-simple/PKGBUILD (limited to 'community/pppd-ldap-simple') diff --git a/community/pppd-ldap-simple/PKGBUILD b/community/pppd-ldap-simple/PKGBUILD new file mode 100644 index 000000000..8475f5810 --- /dev/null +++ b/community/pppd-ldap-simple/PKGBUILD @@ -0,0 +1,20 @@ +# $Id: PKGBUILD 66158 2012-02-23 02:19:12Z spupykin $ + +pkgname=pppd-ldap-simple +pkgver=0.12b +pkgrel=6 +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 +} -- cgit v1.2.3-54-g00ecf