wok-next diff cyrus-sasl/receipt @ rev 1965
rp-pppoe: fix id path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 01 07:51:22 2009 +0000 (2009-01-01) |
parents | |
children | aa0dad286215 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cyrus-sasl/receipt Thu Jan 01 07:51:22 2009 +0000 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cyrus-sasl" 1.7 +VERSION="2.1.22" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="SASL authentication server." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://cyrusimap.web.cmu.edu//" 1.13 +WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL" 1.14 +DEPENDS="libldap" 1.15 +BUILD_DEPENDS="openldap-dev" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.22 + --with-ldap=/usr --with-devrandom=/dev/urandom \ 1.23 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.24 + make 1.25 + make DESTDIR=$PWD/_pkg install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd 1.32 + cp -a $_pkg/usr/sbin $fs/usr 1.33 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.34 + cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2 1.35 + cp -a stuff/etc $fs 1.36 + for i in $(cd $WOK; ls -d cyrus-sasl-*) 1.37 + do 1.38 + tazwok cook $i 1.39 + done 1.40 +}