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