# HG changeset patch # User Pascal Bellard # Date 1236966494 0 # Node ID 252ad632d2a0e0468a7451d97131a60f489aa12d # Parent bfd0152b290ad74b7e3f075d1743a172fcd5e607 Add nss-ldapd diff -r bfd0152b290a -r 252ad632d2a0 nss-ldapd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nss-ldapd/receipt Fri Mar 13 17:48:14 2009 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="nss-ldapd" +VERSION="0.6.7" +CATEGORY="system-tools" +SHORT_DESC="NSS module for name lookups using LDAP (nss_ldap remplacement)." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://ch.tudelft.nl/~arthur/nss-ldapd/" +WGET_URL="${WEB_SITE}$TARBALL" +#http://ch.tudelft.nl/~arthur/nss-ldapd/nss-ldapd-0.6.7.tar.gz + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + rm -rf _pkg + mkdir -p _pkg/usr/lib _pkg/etc + 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 +} +