wok annotate cyrus-sasl/receipt @ rev 24391

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 07 18:01:05 2022 +0000 (2022-02-07)
parents 9bd5e01b7427
children 2a0479881723
rev   line source
pascal@1205 1 # SliTaz package receipt.
pascal@1205 2
pascal@1205 3 PACKAGE="cyrus-sasl"
Hans-G?nter@21286 4 VERSION="2.1.27"
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"
Hans-G?nter@21286 9
pascal@23440 10 WEB_SITE="https://www.cyrusimap.org/sasl"
Hans-G?nter@21286 11
pascal@1205 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@23440 13 WGET_URL="https://www.cyrusimap.org/releases/$PACKAGE-$VERSION.tar.gz"
pankso@10433 14
Hans-G?nter@21286 15 DEPENDS="libcomerr3 libdb libldap libsasl libsasl-modules openssl"
Hans-G?nter@21286 16 BUILD_DEPENDS="db-dev openldap-dev openssl-dev"
pascal@1205 17
pascal@1205 18 # Rules to configure and make the package.
pascal@1205 19 compile_rules()
pascal@1205 20 {
Hans-G?nter@21286 21 # patch -Np1 -i $stuff/0027_db5_support.patch
Hans-G?nter@21286 22
Hans-G?nter@21286 23 ./configure \
Hans-G?nter@21286 24 --with-ldap=/usr \
Hans-G?nter@21286 25 --with-openssl=/usr \
Hans-G?nter@21286 26 --without-pam \
Hans-G?nter@21286 27 --with-devrandom=/dev/urandom \
pankso@10433 28 $CONFIGURE_ARGS
pascal@4273 29 sed -i 's/WITH_DES/WITH_DES 1/' config.h
Hans-G?nter@21286 30 make -j 1 &&
Hans-G?nter@21286 31 make install
pascal@1205 32 }
pascal@1205 33
pascal@1205 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1205 35 genpkg_rules()
pascal@1205 36 {
Hans-G?nter@21286 37 mkdir -p $fs/usr/lib/sasl2
Hans-G?nter@21286 38 mkdir -p $fs/var/state/saslauthd
Hans-G?nter@21286 39
Hans-G?nter@21286 40 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@21286 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21286 42 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
Hans-G?nter@21286 43 cp -a $stuff/etc $fs
erjo@4784 44
slaxemulator@9698 45 cat $stuff/*.files-list | while read file; do
erjo@4784 46 rm -rf $fs$file
erjo@4784 47 done
pascal@1205 48 }