wok-6.x rev 2454

Add nss-ldapd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 13 17:48:14 2009 +0000 (2009-03-13)
parents bfd0152b290a
children 93b397dc8274
files nss-ldapd/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nss-ldapd/receipt	Fri Mar 13 17:48:14 2009 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nss-ldapd"
     1.7 +VERSION="0.6.7"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="NSS module for name lookups using LDAP (nss_ldap remplacement)."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://ch.tudelft.nl/~arthur/nss-ldapd/"
    1.13 +WGET_URL="${WEB_SITE}$TARBALL"
    1.14 +#http://ch.tudelft.nl/~arthur/nss-ldapd/nss-ldapd-0.6.7.tar.gz
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	rm -rf _pkg
    1.21 +	mkdir -p _pkg/usr/lib _pkg/etc
    1.22 +	sed -i 's/-D / /' */Makefile.in Makefile.in
    1.23 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.24 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr
    1.33 +	cp -a $_pkg/etc $fs
    1.34 +	cp -a $_pkg/usr/sbin $fs/usr
    1.35 +	cp -a $_pkg/usr/lib $fs/usr
    1.36 +}
    1.37 +