wok view cyrus-sasl/receipt @ rev 9250

iron-linux: update version no (9.0.600.2)
author Paul Issott <paul@slitaz.org>
date Sun Mar 13 21:35:08 2011 +0000 (2011-03-13)
parents 39011a13b555
children a1644dbcf632
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"
11 DEPENDS="libldap openssl libdb libsasl libsasl-modules libkrb5 libcomerr3"
12 BUILD_DEPENDS="openldap-dev db-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --with-ldap=/usr --without-pam --with-devrandom=/dev/urandom \
20 --with-openssl=/usr \
21 --mandir=/usr/share/man $CONFIGURE_ARGS
22 sed -i 's/WITH_DES/WITH_DES 1/' config.h
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
34 cp -a stuff/etc $fs
36 cat $WOK/$PACKAGE/stuff/*.files-list | while read file; do
37 rm -rf $fs$file
38 done
39 }