wok view nss-ldapd/receipt @ rev 15057

codiad: use config.example.php
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 10:34:38 2013 +0000 (2013-08-13)
parents 55af167bb806
children 178ea3fcbac8
line source
1 # SliTaz package receipt.
3 PACKAGE="nss-ldapd"
4 VERSION="0.7.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="NSS module for name lookups using LDAP (nss_ldap remplacement)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 SOURCE="nss-pam-ldapd"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://ch.tudelft.nl/~arthur/nss-ldapd/"
12 WGET_URL="http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-0.7.15.tar.gz"
14 DEPENDS="cyrus-sasl krb5 libkrb5 libldap libssl libcomerr3"
15 BUILD_DEPENDS="cyrus-sasl-dev krb5-dev openldap-dev openssl-dev pam-dev \
16 pam_ldap"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 rm -rf _pkg
23 mkdir -p _pkg/usr/lib _pkg/etc _pkg/usr/lib/security
24 sed -i 's/-D / /' */Makefile.in Makefile.in
25 ./configure --prefix=/usr --infodir=/usr/share/info \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/etc $fs
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 }