wok diff cyrus-sasl/receipt @ rev 4957
init script for mysql, openldap & postgresql always check /etc/<daemon>.d/*
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 17 22:01:10 2010 +0100 (2010-02-17) |
parents | adc267450fe2 |
children | 39011a13b555 |
line diff
1.1 --- a/cyrus-sasl/receipt Sat Jan 09 22:20:51 2010 +0100 1.2 +++ b/cyrus-sasl/receipt Wed Feb 17 22:01:10 2010 +0100 1.3 @@ -8,8 +8,8 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WEB_SITE="http://cyrusimap.web.cmu.edu/" 1.6 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL" 1.7 -DEPENDS="libldap openssl libdb" 1.8 -BUILD_DEPENDS="openldap-dev" 1.9 +DEPENDS="libldap openssl libdb libsasl libsasl-modules" 1.10 +BUILD_DEPENDS="openldap-dev db-dev" 1.11 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 @@ -17,6 +17,7 @@ 1.15 cd $src 1.16 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.17 --with-ldap=/usr --without-pam --with-devrandom=/dev/urandom \ 1.18 + --with-openssl=/usr \ 1.19 --mandir=/usr/share/man $CONFIGURE_ARGS 1.20 sed -i 's/WITH_DES/WITH_DES 1/' config.h 1.21 make && 1.22 @@ -26,12 +27,18 @@ 1.23 # Rules to gen a SliTaz package suitable for Tazpkg. 1.24 genpkg_rules() 1.25 { 1.26 + cp stuff/*.files-list $src 1.27 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd 1.28 cp -a $_pkg/usr/sbin $fs/usr 1.29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.30 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2 1.31 cp -a stuff/etc $fs 1.32 - for i in $(cd $WOK; ls -d cyrus-sasl-*) 1.33 + 1.34 + cat $src/*.files-list | while read file; do 1.35 + rm -rf $fs$file 1.36 + done 1.37 + 1.38 + for i in $(cd $WOK; ls -d cyrus-sasl-* libsasl*) 1.39 do 1.40 tazwok cook $i 1.41 done