wok-next annotate pam_ldap/receipt @ rev 10399
nspr: add CONFIGURE_ARGS (also was not building properly if build and host are set in cook.site ???)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 24 02:55:10 2011 +0200 (2011-05-24) |
parents | 8d35f3fb4fec |
children | 748571122c2d |
rev | line source |
---|---|
pascal@1949 | 1 # SliTaz package receipt. |
pascal@1949 | 2 |
pascal@1949 | 3 PACKAGE="pam_ldap" |
pascal@5793 | 4 VERSION="185" |
pascal@1949 | 5 CATEGORY="system-tools" |
pascal@1949 | 6 SHORT_DESC="Get and update authenticate from LDAP." |
pascal@1949 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@5810 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1949 | 9 WEB_SITE="http://www.padl.com/OSS/pam_ldap.html" |
pascal@1949 | 10 WGET_URL="http://www.padl.com/download/$TARBALL" |
slaxemulator@8376 | 11 BUILD_DEPENDS="pam-dev perl openldap-dev" |
pascal@5005 | 12 DEPENDS="pam nss_ldap openssl libldap cyrus-sasl libcomerr3" |
pascal@1949 | 13 |
pascal@1949 | 14 # Rules to configure and make the package. |
pascal@1949 | 15 compile_rules() |
pascal@1949 | 16 { |
pascal@1949 | 17 cd $src |
pascal@5879 | 18 ./vers_string -v |
pascal@1949 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1949 | 20 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@5810 | 21 make -j 4 && |
pascal@1949 | 22 make DESTDIR=$PWD/_pkg install |
pascal@1949 | 23 } |
pascal@1949 | 24 |
pascal@1949 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1949 | 26 genpkg_rules() |
pascal@1949 | 27 { |
pascal@1949 | 28 cp -a $_pkg/usr/lib $fs |
pascal@1949 | 29 } |