wok-6.x annotate nss-ldapd/receipt @ rev 23870

syslinux: update iso2exe.sh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 23 08:04:01 2020 +0000 (2020-06-23)
parents 04434444ef20
children 241fb98cab1c
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@17869 13 WGET_URL="http://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
samuel_trassare@11859 19 # Rules to configure and make the package.
samuel_trassare@11859 20 compile_rules()
samuel_trassare@11859 21 {
Hans-G?nter@23252 22 mkdir -p $DESTDIR/usr/lib
Hans-G?nter@23252 23 mkdir -p $DESTDIR/etc
samuel_trassare@11859 24 sed -i 's/-D / /' */Makefile.in Makefile.in
Hans-G?nter@23252 25
Hans-G?nter@23252 26 ./configure \
Hans-G?nter@23252 27 --prefix=/usr \
Hans-G?nter@23252 28 --infodir=/usr/share/info \
Hans-G?nter@23252 29 --mandir=/usr/share/man \
Hans-G?nter@23252 30 $CONFIGURE_ARGS &&
samuel_trassare@11859 31 make &&
pascal@14996 32 make DESTDIR=$DESTDIR install
samuel_trassare@11859 33 }
samuel_trassare@11859 34
samuel_trassare@11859 35 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11859 36 genpkg_rules()
samuel_trassare@11859 37 {
samuel_trassare@11859 38 mkdir -p $fs/usr
Hans-G?nter@23252 39 mkdir -p $fs/lib
Hans-G?nter@23252 40
Hans-G?nter@23252 41 cp -a $install/etc $fs
Hans-G?nter@23252 42 cp -a $install/lib/security $fs/lib
Hans-G?nter@23252 43 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@23252 44 cp -a $install/usr/lib $fs/usr
samuel_trassare@11859 45 }