wok-6.x annotate cyrus-sasl/receipt @ rev 11118

Up: gtkmm to 2.24.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 26 19:30:26 2011 +0000 (2011-10-26)
parents fc20a2fab76c
children 7684d44cb333
rev   line source
pascal@1205 1 # SliTaz package receipt.
pascal@1205 2
pascal@1205 3 PACKAGE="cyrus-sasl"
erjo@4753 4 VERSION="2.1.23"
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@2086 9 WEB_SITE="http://cyrusimap.web.cmu.edu/"
pascal@1205 10 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
pankso@10433 11
pankso@10433 12 DEPENDS="libldap openssl libdb libsasl libsasl-modules libcomerr3"
pankso@10433 13 BUILD_DEPENDS="openldap-dev db-dev openssl-dev"
pascal@1205 14
pascal@1205 15 # Rules to configure and make the package.
pascal@1205 16 compile_rules()
pascal@1205 17 {
pascal@1205 18 cd $src
pankso@10433 19 ./configure \
pankso@10433 20 --with-ldap=/usr \
pankso@10433 21 --with-openssl=/usr \
pankso@10433 22 --without-pam \
pankso@10433 23 --with-devrandom=/dev/urandom \
pankso@10433 24 $CONFIGURE_ARGS
pascal@4273 25 sed -i 's/WITH_DES/WITH_DES 1/' config.h
pankso@10433 26 make && make install
pascal@1205 27 }
pascal@1205 28
pascal@1205 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1205 30 genpkg_rules()
pascal@1205 31 {
pascal@1205 32 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
pascal@1205 33 cp -a $_pkg/usr/sbin $fs/usr
pascal@1205 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1205 35 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
pankso@9697 36 cp -a $stuff/etc $fs
erjo@4784 37
slaxemulator@9698 38 cat $stuff/*.files-list | while read file; do
erjo@4784 39 rm -rf $fs$file
erjo@4784 40 done
pascal@1205 41 }