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

strigi, cryptsetup: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 10:33:55 2013 +0000 (2013-08-11)
parents b3a5a76246a3
children 6a0bb22dcc73
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 patch -Np1 -i $stuff/0027_db5_support.patch
20 ./configure \
21 --with-ldap=/usr \
22 --with-openssl=/usr \
23 --without-pam \
24 --with-devrandom=/dev/urandom \
25 $CONFIGURE_ARGS
26 sed -i 's/WITH_DES/WITH_DES 1/' config.h
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
37 cp -a $stuff/etc $fs
39 cat $stuff/*.files-list | while read file; do
40 rm -rf $fs$file
41 done
42 }