wok-current view nss-ldapd/receipt @ rev 24374

avrdude: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 05 17:11:25 2022 +0000 (2022-02-05)
parents 04434444ef20
children 241fb98cab1c
line source
1 # SliTaz package receipt.
3 PACKAGE="nss-ldapd"
4 VERSION="0.9.11"
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 WEB_SITE="https://arthurdejong.org/nss-pam-ldapd/"
11 SOURCE="nss-pam-ldapd"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://arthurdejong.org/$SOURCE/$TARBALL"
15 DEPENDS="cyrus-sasl krb5 libcomerr3 libkrb5 libldap libssl"
16 BUILD_DEPENDS="cyrus-sasl-dev krb5-dev openldap-dev openssl-dev pam-dev \
17 pam_ldap"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir -p $DESTDIR/usr/lib
23 mkdir -p $DESTDIR/etc
24 sed -i 's/-D / /' */Makefile.in Makefile.in
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 mkdir -p $fs/lib
41 cp -a $install/etc $fs
42 cp -a $install/lib/security $fs/lib
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 }