wok-next annotate nss-ldapd/receipt @ rev 20302

Up gnustep-make (2.7.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 11:12:26 2017 +0100 (2017-11-10)
parents 178ea3fcbac8
children e6615350078d
rev   line source
samuel_trassare@11859 1 # SliTaz package receipt.
samuel_trassare@11859 2
samuel_trassare@11859 3 PACKAGE="nss-ldapd"
samuel_trassare@11859 4 VERSION="0.7.15"
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"
samuel_trassare@11859 9 SOURCE="nss-pam-ldapd"
samuel_trassare@11859 10 TARBALL="$SOURCE-$VERSION.tar.gz"
samuel_trassare@11859 11 WEB_SITE="http://ch.tudelft.nl/~arthur/nss-ldapd/"
pascal@17869 12 WGET_URL="http://arthurdejong.org/$SOURCE/$TARBALL"
samuel_trassare@11859 13
samuel_trassare@11859 14 DEPENDS="cyrus-sasl krb5 libkrb5 libldap libssl libcomerr3"
samuel_trassare@11859 15 BUILD_DEPENDS="cyrus-sasl-dev krb5-dev openldap-dev openssl-dev pam-dev \
samuel_trassare@11859 16 pam_ldap"
samuel_trassare@11859 17
samuel_trassare@11859 18 # Rules to configure and make the package.
samuel_trassare@11859 19 compile_rules()
samuel_trassare@11859 20 {
pascal@15312 21 mkdir -p $DESTDIR/usr/lib $DESTDIR/etc $DESTDIR/usr/lib/security
samuel_trassare@11859 22 sed -i 's/-D / /' */Makefile.in Makefile.in
samuel_trassare@11859 23 ./configure --prefix=/usr --infodir=/usr/share/info \
samuel_trassare@11859 24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
samuel_trassare@11859 25 make &&
pascal@14996 26 make DESTDIR=$DESTDIR install
samuel_trassare@11859 27 }
samuel_trassare@11859 28
samuel_trassare@11859 29 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11859 30 genpkg_rules()
samuel_trassare@11859 31 {
samuel_trassare@11859 32 mkdir -p $fs/usr
pascal@14996 33 cp -a $install/etc $fs
pascal@14996 34 cp -a $install/usr/sbin $fs/usr
pascal@14996 35 cp -a $install/usr/lib $fs/usr
samuel_trassare@11859 36 }