wok view pam_ldap/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (24 months ago)
parents bd7510903310
children 1f9238437d3b
line source
1 # SliTaz package receipt.
3 PACKAGE="pam_ldap"
4 VERSION="186"
5 CATEGORY="system-tools"
6 SHORT_DESC="Get and update authenticate from LDAP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 #WEB_SITE="https://www.padl.com/OSS/pam_ldap.html"
10 WEB_SITE="https://github.com/PADL/pam_ldap"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://www.padl.com/download/$TARBALL"
15 BUILD_DEPENDS="libldap openldap-dev pam-dev perl"
16 DEPENDS="cyrus-sasl libcomerr3 libldap nss_ldap openssl pam"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
22 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./vers_string -v
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --sysconfdir=/etc \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make $MAKEFLAGS &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/usr/lib $fs
43 }