wok-6.x view cyrus-sasl/receipt @ rev 19169

slim-theme-*: move to 'customization' category
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 02 02:41:24 2016 +0300 (2016-06-02)
parents 6a0bb22dcc73
children 9bd5e01b7427
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl"
4 VERSION="2.1.23"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://cyrusimap.web.cmu.edu/"
11 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
13 DEPENDS="libldap openssl libdb libsasl libsasl-modules libcomerr3"
14 BUILD_DEPENDS="openldap-dev db-dev openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/0027_db5_support.patch
21 ./configure \
22 --with-ldap=/usr \
23 --with-openssl=/usr \
24 --without-pam \
25 --with-devrandom=/dev/urandom \
26 $CONFIGURE_ARGS
27 sed -i 's/WITH_DES/WITH_DES 1/' config.h
28 make -j 1 && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
38 cp -a $stuff/etc $fs
40 cat $stuff/*.files-list | while read file; do
41 rm -rf $fs$file
42 done
43 }