wok-current view nss-ldapd/receipt @ rev 13411
powertop: fix deps, bdeps & genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 01 10:08:31 2012 +0200 (2012-10-01) |
parents | |
children | 76b72f1ad63c |
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 SOURCE="nss-pam-ldapd"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://ch.tudelft.nl/~arthur/nss-ldapd/"
11 WGET_URL="http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-0.7.15.tar.gz"
13 DEPENDS="cyrus-sasl krb5 libkrb5 libldap libssl libcomerr3"
14 BUILD_DEPENDS="cyrus-sasl-dev krb5-dev openldap-dev openssl-dev pam-dev \
15 pam_ldap"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 rm -rf _pkg
22 mkdir -p _pkg/usr/lib _pkg/etc _pkg/usr/lib/security
23 sed -i 's/-D / /' */Makefile.in Makefile.in
24 ./configure --prefix=/usr --infodir=/usr/share/info \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/etc $fs
35 cp -a $_pkg/usr/sbin $fs/usr
36 cp -a $_pkg/usr/lib $fs/usr
37 }