wok-next view cyrus-sasl-pam/receipt @ rev 20122
cyrus-sasl-pam: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 31 09:03:51 2017 +0100 (2017-10-31) |
parents | 76b93e8c1608 |
children | 1760c61b5ab6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl-pam"
4 VERSION="2.1.26"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://cyrusimap.web.cmu.edu/"
10 SOURCE="cyrus-sasl"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="ftp://ftp.cyrusimap.org/cyrus-sasl/$TARBALL"
14 PROVIDE="cyrus-sasl:pam"
16 DEPENDS="libldap openssl libdb pam libkrb5 libcomerr3"
17 BUILD_DEPENDS="automake libtool openldap-dev pam pam-dev openssl-dev krb5-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 autoreconf -fi &&
24 ./configure
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --infodir=/usr/share/info \
28 --with-ldap=/usr \
29 --with-pam=/usr \
30 --with-devrandom=/dev/urandom \
31 --with-openssl \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS
34 make &&
35 make -j1 DESTDIR=$DESTDIR install
37 docdir="$install/usr/share/doc/cyrus-sasl-$VERSION"
38 mkdir -p $docdir &&
39 cd $src/doc &&
40 cp *.html *.txt ONEWS TODO ../saslauthd/LDAP_SASLAUTHD $docdir
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
47 cp -a $install/usr/sbin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
50 cp -a ../$SOURCE/stuff/etc $fs
51 sed -i 's/shadow/pam/' $fs/etc/init.d/cyrus-sasl
52 }