wok-current view cyrus-sasl/receipt @ rev 4753

Up: cyrus-sasl* (2.1.23) security fix.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jan 09 22:20:51 2010 +0100 (2010-01-09)
parents f0af3c539b04
children 734283599021
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"
12 BUILD_DEPENDS="openldap-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 --mandir=/usr/share/man $CONFIGURE_ARGS
21 sed -i 's/WITH_DES/WITH_DES 1/' config.h
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
33 cp -a stuff/etc $fs
34 for i in $(cd $WOK; ls -d cyrus-sasl-*)
35 do
36 tazwok cook $i
37 done
38 }