wok-next diff pam_ldap/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents 51a1ebbda768
children 4e6503d7a19f
line diff
     1.1 --- a/pam_ldap/receipt	Fri Oct 18 19:43:55 2013 +0000
     1.2 +++ b/pam_ldap/receipt	Fri Mar 30 19:31:50 2018 +0300
     1.3 @@ -1,31 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pam_ldap"
     1.8  VERSION="185"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Get and update authenticate from LDAP."
    1.11 +SHORT_DESC="Get and update authenticate from LDAP"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.padl.com/OSS/pam_ldap.html"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.padl.com/OSS/pam_ldap.html"
    1.18  WGET_URL="http://www.padl.com/download/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="pam-dev perl openldap-dev libldap"
    1.21 -DEPENDS="pam nss_ldap openssl libldap cyrus-sasl libcomerr3"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	cd $src
    1.27 +compile_rules() {
    1.28  	./vers_string -v
    1.29 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.30 -	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.31 +	./configure $CONFIGURE_ARGS &&
    1.32  	make $MAKEFLAGS &&
    1.33  	make DESTDIR=$DESTDIR install
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 -	cp -a $install/usr/lib $fs
    1.40 +genpkg_rules() {
    1.41 +	copy @std
    1.42 +	DEPENDS="pam nss_ldap openssl libldap cyrus-sasl libcomerr3"
    1.43  }