wok-next view nss-ldapd/receipt @ rev 10519
nss-ldapd: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 16:12:30 2011 +0200 (2011-05-25) |
parents | 5b44af8c1257 |
children | d4246c996c9d |
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"
11 DEPENDS="cyrus-sasl krb5 libkrb5 libldap openssl libcomerr3"
12 BUILD_DEPENDS="openldap-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 rm -rf _pkg
19 mkdir -p _pkg/usr/lib _pkg/etc
20 sed -i 's/-D / /' */Makefile.in Makefile.in
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/etc $fs
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 }