wok-stable annotate nss-ldapd/receipt @ rev 3773
Add brscan
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 30 11:41:36 2009 +0200 (2009-07-30) |
parents | 252ad632d2a0 |
children | 5b44af8c1257 |
rev | line source |
---|---|
pascal@2454 | 1 # SliTaz package receipt. |
pascal@2454 | 2 |
pascal@2454 | 3 PACKAGE="nss-ldapd" |
pascal@2454 | 4 VERSION="0.6.7" |
pascal@2454 | 5 CATEGORY="system-tools" |
pascal@2454 | 6 SHORT_DESC="NSS module for name lookups using LDAP (nss_ldap remplacement)." |
pascal@2454 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2454 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2454 | 9 WEB_SITE="http://ch.tudelft.nl/~arthur/nss-ldapd/" |
pascal@2454 | 10 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@2520 | 11 DEPENDS="cyrus-sasl krb5 libkrb5 libldap openssl" |
pascal@2454 | 12 |
pascal@2454 | 13 # Rules to configure and make the package. |
pascal@2454 | 14 compile_rules() |
pascal@2454 | 15 { |
pascal@2454 | 16 cd $src |
pascal@2454 | 17 rm -rf _pkg |
pascal@2454 | 18 mkdir -p _pkg/usr/lib _pkg/etc |
pascal@2454 | 19 sed -i 's/-D / /' */Makefile.in Makefile.in |
pascal@2454 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2454 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2454 | 22 make && |
pascal@2454 | 23 make DESTDIR=$PWD/_pkg install |
pascal@2454 | 24 } |
pascal@2454 | 25 |
pascal@2454 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2454 | 27 genpkg_rules() |
pascal@2454 | 28 { |
pascal@2454 | 29 mkdir -p $fs/usr |
pascal@2454 | 30 cp -a $_pkg/etc $fs |
pascal@2454 | 31 cp -a $_pkg/usr/sbin $fs/usr |
pascal@2454 | 32 cp -a $_pkg/usr/lib $fs/usr |
pascal@2454 | 33 } |
pascal@2454 | 34 |