2008-03-27 20:59:51 -04:30
|
|
|
# Description: LDAP NSS module
|
|
|
|
# URL: http://www.padl.com/OSS/nss_ldap.html
|
|
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
|
|
# Depends on: openldap
|
|
|
|
|
|
|
|
name=nss_ldap
|
2011-07-25 17:58:19 +09:00
|
|
|
version=265
|
2008-03-27 20:59:51 -04:30
|
|
|
release=1
|
|
|
|
source=(http://www.padl.com/download/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
./configure --mandir=/usr/man --with-ldap-lib=openldap --with-ldap-conf-file=/etc/openldap/ldap.conf
|
2011-07-25 17:58:19 +09:00
|
|
|
|
|
|
|
# padl developers have . in their PATH
|
|
|
|
PATH="$PATH:$PWD" make
|
|
|
|
|
2008-03-27 20:59:51 -04:30
|
|
|
mkdir -p $PKG/lib $PKG/usr/man
|
|
|
|
make DESTDIR=$PKG install
|
2011-07-25 17:58:19 +09:00
|
|
|
|
|
|
|
# Config file comes from openldap
|
|
|
|
rm -rf $PKG/etc/openldap
|
2008-03-27 20:59:51 -04:30
|
|
|
}
|