wok view cyrus-sasl/receipt @ rev 21789
openal: fix post_install for tank
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 24 15:41:47 2019 +0200 (2019-07-24) |
parents | eb8067417980 |
children | a1821e12e28a |
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://cyrusimap.org/sasl"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://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 }