wok annotate nss-ldapd/receipt @ rev 7910

Added DESTDIR=PWD/_pkg to acl. Needed for it to make packages.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 09 12:07:10 2011 +0000 (2011-01-09)
parents d4b161735a3e
children 2e651db4761a
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@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