wok annotate pam_ldap/receipt @ rev 24497
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 19 14:19:02 2022 +0000 (2022-02-19) |
parents | c38c6329f832 |
children | bd7510903310 |
rev | line source |
---|---|
pascal@1949 | 1 # SliTaz package receipt. |
pascal@1949 | 2 |
pascal@1949 | 3 PACKAGE="pam_ldap" |
Hans-G?nter@23273 | 4 VERSION="186" |
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@15375 | 8 LICENSE="GPL2" |
pascal@21178 | 9 #WEB_SITE="https://www.padl.com/OSS/pam_ldap.html" |
pascal@21178 | 10 WEB_SITE="https://github.com/PADL/pam_ldap" |
Hans-G?nter@23273 | 11 |
Hans-G?nter@23273 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1949 | 13 WGET_URL="http://www.padl.com/download/$TARBALL" |
pascal@15375 | 14 |
Hans-G?nter@23273 | 15 BUILD_DEPENDS="libldap openldap-dev pam-dev perl" |
Hans-G?nter@23273 | 16 DEPENDS="cyrus-sasl libcomerr3 libldap nss_ldap openssl pam" |
pascal@1949 | 17 |
pascal@24497 | 18 # What is the latest version available today? |
pascal@24497 | 19 current_version() |
pascal@24497 | 20 { |
pascal@24497 | 21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \ |
pascal@24497 | 22 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' |
pascal@24497 | 23 } |
pascal@24497 | 24 |
pascal@1949 | 25 # Rules to configure and make the package. |
pascal@1949 | 26 compile_rules() |
pascal@1949 | 27 { |
pascal@5879 | 28 ./vers_string -v |
Hans-G?nter@23273 | 29 ./configure \ |
Hans-G?nter@23273 | 30 --prefix=/usr \ |
Hans-G?nter@23273 | 31 --infodir=/usr/share/info \ |
Hans-G?nter@23273 | 32 --sysconfdir=/etc \ |
Hans-G?nter@23273 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@23273 | 34 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 35 make $MAKEFLAGS && |
pascal@15375 | 36 make DESTDIR=$DESTDIR install |
pascal@1949 | 37 } |
pascal@1949 | 38 |
pascal@1949 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1949 | 40 genpkg_rules() |
pascal@1949 | 41 { |
Hans-G?nter@23273 | 42 cp -a $install/usr/lib $fs |
pascal@1949 | 43 } |