wok annotate nss-ldapd/receipt @ rev 13396
Up blogotext (2.0.0.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 26 17:39:25 2012 +0200 (2012-09-26) |
parents | |
children | 76b72f1ad63c |
rev | line source |
---|---|
samuel_trassare@11859 | 1 # SliTaz package receipt. |
samuel_trassare@11859 | 2 |
samuel_trassare@11859 | 3 PACKAGE="nss-ldapd" |
samuel_trassare@11859 | 4 VERSION="0.7.15" |
samuel_trassare@11859 | 5 CATEGORY="system-tools" |
samuel_trassare@11859 | 6 SHORT_DESC="NSS module for name lookups using LDAP (nss_ldap remplacement)." |
samuel_trassare@11859 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
samuel_trassare@11859 | 8 SOURCE="nss-pam-ldapd" |
samuel_trassare@11859 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
samuel_trassare@11859 | 10 WEB_SITE="http://ch.tudelft.nl/~arthur/nss-ldapd/" |
samuel_trassare@11859 | 11 WGET_URL="http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-0.7.15.tar.gz" |
samuel_trassare@11859 | 12 |
samuel_trassare@11859 | 13 DEPENDS="cyrus-sasl krb5 libkrb5 libldap libssl libcomerr3" |
samuel_trassare@11859 | 14 BUILD_DEPENDS="cyrus-sasl-dev krb5-dev openldap-dev openssl-dev pam-dev \ |
samuel_trassare@11859 | 15 pam_ldap" |
samuel_trassare@11859 | 16 |
samuel_trassare@11859 | 17 # Rules to configure and make the package. |
samuel_trassare@11859 | 18 compile_rules() |
samuel_trassare@11859 | 19 { |
samuel_trassare@11859 | 20 cd $src |
samuel_trassare@11859 | 21 rm -rf _pkg |
samuel_trassare@11859 | 22 mkdir -p _pkg/usr/lib _pkg/etc _pkg/usr/lib/security |
samuel_trassare@11859 | 23 sed -i 's/-D / /' */Makefile.in Makefile.in |
samuel_trassare@11859 | 24 ./configure --prefix=/usr --infodir=/usr/share/info \ |
samuel_trassare@11859 | 25 --mandir=/usr/share/man $CONFIGURE_ARGS && |
samuel_trassare@11859 | 26 make && |
samuel_trassare@11859 | 27 make DESTDIR=$PWD/_pkg install |
samuel_trassare@11859 | 28 } |
samuel_trassare@11859 | 29 |
samuel_trassare@11859 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
samuel_trassare@11859 | 31 genpkg_rules() |
samuel_trassare@11859 | 32 { |
samuel_trassare@11859 | 33 mkdir -p $fs/usr |
samuel_trassare@11859 | 34 cp -a $_pkg/etc $fs |
samuel_trassare@11859 | 35 cp -a $_pkg/usr/sbin $fs/usr |
samuel_trassare@11859 | 36 cp -a $_pkg/usr/lib $fs/usr |
samuel_trassare@11859 | 37 } |
samuel_trassare@11859 | 38 |