wok-4.x annotate cyrus-sasl/receipt @ rev 1674

Add perl-net-ldap
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 08 13:57:57 2008 +0000 (2008-11-08)
parents
children aa0dad286215
rev   line source
pascal@1205 1 # SliTaz package receipt.
pascal@1205 2
pascal@1205 3 PACKAGE="cyrus-sasl"
pascal@1205 4 VERSION="2.1.22"
pascal@1205 5 CATEGORY="network"
pascal@1205 6 SHORT_DESC="SASL authentication server."
pascal@1205 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1205 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1205 9 WEB_SITE="http://cyrusimap.web.cmu.edu//"
pascal@1205 10 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
pascal@1205 11 DEPENDS="libldap"
pascal@1205 12 BUILD_DEPENDS="openldap-dev"
pascal@1205 13
pascal@1205 14 # Rules to configure and make the package.
pascal@1205 15 compile_rules()
pascal@1205 16 {
pascal@1205 17 cd $src
pascal@1205 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1205 19 --with-ldap=/usr --with-devrandom=/dev/urandom \
pascal@1205 20 --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@1205 21 make
pascal@1205 22 make DESTDIR=$PWD/_pkg install
pascal@1205 23 }
pascal@1205 24
pascal@1205 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1205 26 genpkg_rules()
pascal@1205 27 {
pascal@1205 28 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
pascal@1205 29 cp -a $_pkg/usr/sbin $fs/usr
pascal@1205 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1205 31 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
pascal@1205 32 cp -a stuff/etc $fs
pascal@1205 33 for i in $(cd $WOK; ls -d cyrus-sasl-*)
pascal@1205 34 do
pascal@1205 35 tazwok cook $i
pascal@1205 36 done
pascal@1205 37 }