wok diff nss-ldapd/receipt @ rev 13429

partclone: add btrfs & hfsplus support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 04 11:53:21 2012 +0200 (2012-10-04)
parents
children 76b72f1ad63c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nss-ldapd/receipt	Thu Oct 04 11:53:21 2012 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nss-ldapd"
     1.7 +VERSION="0.7.15"
     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 +SOURCE="nss-pam-ldapd"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://ch.tudelft.nl/~arthur/nss-ldapd/"
    1.14 +WGET_URL="http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-0.7.15.tar.gz"
    1.15 +
    1.16 +DEPENDS="cyrus-sasl krb5 libkrb5 libldap libssl libcomerr3"
    1.17 +BUILD_DEPENDS="cyrus-sasl-dev krb5-dev openldap-dev openssl-dev pam-dev \
    1.18 +pam_ldap"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	rm -rf _pkg
    1.25 +	mkdir -p _pkg/usr/lib _pkg/etc _pkg/usr/lib/security
    1.26 +	sed -i 's/-D / /' */Makefile.in Makefile.in
    1.27 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.28 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr
    1.37 +	cp -a $_pkg/etc $fs
    1.38 +	cp -a $_pkg/usr/sbin $fs/usr
    1.39 +	cp -a $_pkg/usr/lib $fs/usr
    1.40 +}
    1.41 +