wok annotate nss-ldapd/receipt @ rev 25069

updated alsaequal (0.6 -> 0.7.1)
author Hans-G?nter Theisgen
date Fri Jun 10 14:01:46 2022 +0100 (2022-06-10)
parents 241fb98cab1c
children
rev   line source
samuel_trassare@11859 1 # SliTaz package receipt.
samuel_trassare@11859 2
samuel_trassare@11859 3 PACKAGE="nss-ldapd"
Hans-G?nter@23252 4 VERSION="0.9.11"
samuel_trassare@11859 5 CATEGORY="system-tools"
samuel_trassare@11859 6 SHORT_DESC="NSS module for name lookups using LDAP (nss_ldap remplacement)."
samuel_trassare@11859 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
Hans-G?nter@23252 9 WEB_SITE="https://arthurdejong.org/nss-pam-ldapd/"
Hans-G?nter@23252 10
samuel_trassare@11859 11 SOURCE="nss-pam-ldapd"
samuel_trassare@11859 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@24975 13 WGET_URL="https://arthurdejong.org/$SOURCE/$TARBALL"
samuel_trassare@11859 14
Hans-G?nter@23252 15 DEPENDS="cyrus-sasl krb5 libcomerr3 libkrb5 libldap libssl"
samuel_trassare@11859 16 BUILD_DEPENDS="cyrus-sasl-dev krb5-dev openldap-dev openssl-dev pam-dev \
Hans-G?nter@23252 17 pam_ldap"
samuel_trassare@11859 18
pascal@24453 19 # What is the latest version available today?
pascal@24453 20 current_version()
pascal@24453 21 {
pascal@24453 22 wget -O - ${WGET_URL%/*}/downloads 2>/dev/null | \
pascal@24453 23 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24453 24 }
pascal@24453 25
samuel_trassare@11859 26 # Rules to configure and make the package.
samuel_trassare@11859 27 compile_rules()
samuel_trassare@11859 28 {
Hans-G?nter@23252 29 mkdir -p $DESTDIR/usr/lib
Hans-G?nter@23252 30 mkdir -p $DESTDIR/etc
samuel_trassare@11859 31 sed -i 's/-D / /' */Makefile.in Makefile.in
Hans-G?nter@23252 32
Hans-G?nter@23252 33 ./configure \
Hans-G?nter@23252 34 --prefix=/usr \
Hans-G?nter@23252 35 --infodir=/usr/share/info \
Hans-G?nter@23252 36 --mandir=/usr/share/man \
Hans-G?nter@23252 37 $CONFIGURE_ARGS &&
samuel_trassare@11859 38 make &&
pascal@14996 39 make DESTDIR=$DESTDIR install
samuel_trassare@11859 40 }
samuel_trassare@11859 41
samuel_trassare@11859 42 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11859 43 genpkg_rules()
samuel_trassare@11859 44 {
samuel_trassare@11859 45 mkdir -p $fs/usr
Hans-G?nter@23252 46 mkdir -p $fs/lib
Hans-G?nter@23252 47
Hans-G?nter@23252 48 cp -a $install/etc $fs
Hans-G?nter@23252 49 cp -a $install/lib/security $fs/lib
Hans-G?nter@23252 50 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@23252 51 cp -a $install/usr/lib $fs/usr
samuel_trassare@11859 52 }