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

Up busybox (1.20.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 22 13:08:24 2012 +0200 (2012-04-22)
parents fc20a2fab76c
children 7684d44cb333
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://cyrusimap.web.cmu.edu/"
10 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
12 DEPENDS="libldap openssl libdb libsasl libsasl-modules libcomerr3"
13 BUILD_DEPENDS="openldap-dev db-dev openssl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --with-ldap=/usr \
21 --with-openssl=/usr \
22 --without-pam \
23 --with-devrandom=/dev/urandom \
24 $CONFIGURE_ARGS
25 sed -i 's/WITH_DES/WITH_DES 1/' config.h
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
36 cp -a $stuff/etc $fs
38 cat $stuff/*.files-list | while read file; do
39 rm -rf $fs$file
40 done
41 }