wok annotate cyrus-sasl/receipt @ rev 20641

Add SSL support to retawq (needed by man to browse linux.die.net)
author Lucas Levrel <llevrel@yahoo.fr>
date Fri Jan 11 09:19:11 2019 +0100 (2019-01-11)
parents 6a0bb22dcc73
children 9bd5e01b7427
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@15579 8 LICENSE="BSD"
pascal@1205 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2086 10 WEB_SITE="http://cyrusimap.web.cmu.edu/"
pascal@1205 11 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
pankso@10433 12
pankso@10433 13 DEPENDS="libldap openssl libdb libsasl libsasl-modules libcomerr3"
pankso@10433 14 BUILD_DEPENDS="openldap-dev db-dev openssl-dev"
pascal@1205 15
pascal@1205 16 # Rules to configure and make the package.
pascal@1205 17 compile_rules()
pascal@1205 18 {
pascal@1205 19 cd $src
slaxemulator@13003 20 patch -Np1 -i $stuff/0027_db5_support.patch
pankso@10433 21 ./configure \
pankso@10433 22 --with-ldap=/usr \
pankso@10433 23 --with-openssl=/usr \
pankso@10433 24 --without-pam \
pankso@10433 25 --with-devrandom=/dev/urandom \
pankso@10433 26 $CONFIGURE_ARGS
pascal@4273 27 sed -i 's/WITH_DES/WITH_DES 1/' config.h
pascal@15256 28 make -j 1 && make install
pascal@1205 29 }
pascal@1205 30
pascal@1205 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1205 32 genpkg_rules()
pascal@1205 33 {
pascal@1205 34 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
pascal@15579 35 cp -a $install/usr/sbin $fs/usr
pascal@15579 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15579 37 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
pankso@9697 38 cp -a $stuff/etc $fs
erjo@4784 39
slaxemulator@9698 40 cat $stuff/*.files-list | while read file; do
erjo@4784 41 rm -rf $fs$file
erjo@4784 42 done
pascal@1205 43 }