wok view cyrus-sasl/receipt @ rev 23818
awesome: added dependency xcb-util-xrm
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 27 16:14:32 2020 +0100 (2020-05-27) |
parents | 9bd5e01b7427 |
children | 2a0479881723 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl"
4 VERSION="2.1.27"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
10 WEB_SITE="https://www.cyrusimap.org/sasl"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://www.cyrusimap.org/releases/$PACKAGE-$VERSION.tar.gz"
15 DEPENDS="libcomerr3 libdb libldap libsasl libsasl-modules openssl"
16 BUILD_DEPENDS="db-dev openldap-dev openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # patch -Np1 -i $stuff/0027_db5_support.patch
23 ./configure \
24 --with-ldap=/usr \
25 --with-openssl=/usr \
26 --without-pam \
27 --with-devrandom=/dev/urandom \
28 $CONFIGURE_ARGS
29 sed -i 's/WITH_DES/WITH_DES 1/' config.h
30 make -j 1 &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/sasl2
38 mkdir -p $fs/var/state/saslauthd
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
43 cp -a $stuff/etc $fs
45 cat $stuff/*.files-list | while read file; do
46 rm -rf $fs$file
47 done
48 }