# SliTaz package receipt. PACKAGE="nss-ldapd" VERSION="0.7.15" CATEGORY="system-tools" SHORT_DESC="NSS module for name lookups using LDAP (nss_ldap remplacement)." MAINTAINER="pascal.bellard@slitaz.org" SOURCE="nss-pam-ldapd" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://ch.tudelft.nl/~arthur/nss-ldapd/" WGET_URL="http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-0.7.15.tar.gz" DEPENDS="cyrus-sasl krb5 libkrb5 libldap libssl libcomerr3" BUILD_DEPENDS="cyrus-sasl-dev krb5-dev openldap-dev openssl-dev pam-dev \ pam_ldap" # Rules to configure and make the package. compile_rules() { cd $src rm -rf _pkg mkdir -p _pkg/usr/lib _pkg/etc _pkg/usr/lib/security sed -i 's/-D / /' */Makefile.in Makefile.in ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/etc $fs cp -a $_pkg/usr/sbin $fs/usr cp -a $_pkg/usr/lib $fs/usr }