wok annotate cyrus-sasl/receipt @ rev 14268

syslinux/iso2exe: do not overload (setup) version in bootlinux.c
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 04 11:19:19 2013 +0200 (2013-04-04)
parents b3a5a76246a3
children 6a0bb22dcc73
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
slaxemulator@13003 19 patch -Np1 -i $stuff/0027_db5_support.patch
pankso@10433 20 ./configure \
pankso@10433 21 --with-ldap=/usr \
pankso@10433 22 --with-openssl=/usr \
pankso@10433 23 --without-pam \
pankso@10433 24 --with-devrandom=/dev/urandom \
pankso@10433 25 $CONFIGURE_ARGS
pascal@4273 26 sed -i 's/WITH_DES/WITH_DES 1/' config.h
pankso@10433 27 make && make install
pascal@1205 28 }
pascal@1205 29
pascal@1205 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1205 31 genpkg_rules()
pascal@1205 32 {
pascal@1205 33 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
pascal@1205 34 cp -a $_pkg/usr/sbin $fs/usr
pascal@1205 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1205 36 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
pankso@9697 37 cp -a $stuff/etc $fs
erjo@4784 38
slaxemulator@9698 39 cat $stuff/*.files-list | while read file; do
erjo@4784 40 rm -rf $fs$file
erjo@4784 41 done
pascal@1205 42 }