wok view pam_ldap/receipt @ rev 24783
Up apache-ant (1.10.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 20 12:11:06 2022 +0000 (2022-03-20) |
parents | c38c6329f832 |
children | bd7510903310 |
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="http://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_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
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 }