wok-6.x view cyrus-sasl/receipt @ rev 15273
linux: remove duplicate bootsect_start label
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 16:04:47 2013 +0000 (2013-09-25) |
parents | 7684d44cb333 |
children | eb8067417980 |
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 -j 1 && 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 }