wok annotate nss-ldapd/receipt @ rev 11706
Up: tazweb (1.4.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Feb 19 12:14:00 2012 +0100 (2012-02-19) |
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 |