wok-next view nss-ldapd/receipt @ rev 11675
Up slitaz-tools-boxes (4.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 09:21:57 2012 +0100 (2012-02-18) |
parents | 2e651db4761a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="nss-ldapd"
4 VERSION="0.6.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="NSS module for name lookups using LDAP (nss_ldap remplacement)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://ch.tudelft.nl/~arthur/nss-ldapd/"
10 WGET_URL="${WEB_SITE}$TARBALL"
12 DEPENDS="cyrus-sasl krb5 libkrb5 libldap libssl libcomerr3"
13 BUILD_DEPENDS="cyrus-sasl-dev krb5-dev openldap-dev openssl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 rm -rf _pkg
20 mkdir -p _pkg/usr/lib _pkg/etc
21 sed -i 's/-D / /' */Makefile.in Makefile.in
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/etc $fs
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
35 }