wok annotate nss-ldapd/receipt @ rev 10519
nss-ldapd: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 16:12:30 2011 +0200 (2011-05-25) |
parents | 5b44af8c1257 |
children | d4246c996c9d |
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@5004 | 11 DEPENDS="cyrus-sasl krb5 libkrb5 libldap openssl libcomerr3" |
pascal@10519 | 12 BUILD_DEPENDS="openldap-dev" |
pascal@2454 | 13 |
pascal@2454 | 14 # Rules to configure and make the package. |
pascal@2454 | 15 compile_rules() |
pascal@2454 | 16 { |
pascal@2454 | 17 cd $src |
pascal@2454 | 18 rm -rf _pkg |
pascal@2454 | 19 mkdir -p _pkg/usr/lib _pkg/etc |
pascal@2454 | 20 sed -i 's/-D / /' */Makefile.in Makefile.in |
pascal@2454 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2454 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2454 | 23 make && |
pascal@2454 | 24 make DESTDIR=$PWD/_pkg install |
pascal@2454 | 25 } |
pascal@2454 | 26 |
pascal@2454 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2454 | 28 genpkg_rules() |
pascal@2454 | 29 { |
pascal@2454 | 30 mkdir -p $fs/usr |
pascal@2454 | 31 cp -a $_pkg/etc $fs |
pascal@2454 | 32 cp -a $_pkg/usr/sbin $fs/usr |
pascal@2454 | 33 cp -a $_pkg/usr/lib $fs/usr |
pascal@2454 | 34 } |
pascal@2454 | 35 |