wok-6.x view nss-ldapd/receipt @ rev 9118
glibc-dev: ensure necessary packages are built
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 13:14:44 2011 +0100 (2011-03-05) |
parents | d4b161735a3e |
children | 2e651db4761a |
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 rm -rf _pkg
18 mkdir -p _pkg/usr/lib _pkg/etc
19 sed -i 's/-D / /' */Makefile.in Makefile.in
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/etc $fs
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 }