wok-current view cyrus-sasl-pam/receipt @ rev 23586

updated python-xlwt (0.7.2 -> 1.3.0)
author Hans-G?nter Theisgen
date Tue Apr 07 14:31:06 2020 +0100 (2020-04-07)
parents 9bd5e01b7427
children 2a0479881723
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl-pam"
4 VERSION="2.1.27"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.cyrusimap.org/sasl"
11 SOURCE="cyrus-sasl"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cyrusimap.org/releases/$SOURCE-$VERSION.tar.gz"
15 PROVIDE="cyrus-sasl:pam"
16 DEPENDS="libcomerr3 libdb libkrb5 libldap openssl pam"
17 BUILD_DEPENDS="openldap-dev openssl-dev pam pam-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --with-ldap=/usr \
26 --with-pam=/usr \
27 --with-devrandom=/dev/urandom \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS
30 sed -i 's/WITH_DES/WITH_DES 1/' config.h
31 make -j1 &&
32 make -j1 DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/sasl2
39 mkdir -p $fs/var/state/saslauthd
41 cp -a $install/usr/sbin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
44 cp -a ../$SOURCE/stuff/etc $fs
46 sed -i 's/shadow/pam/' $fs/etc/init.d/cyrus-sasl
47 }