wok annotate cyrus-sasl/receipt @ rev 24523

updated eudev, eudev-dev and eudev-lib (3.2.9 -> 3.2.11)
author Hans-G?nter Theisgen
date Tue Feb 22 17:00:18 2022 +0100 (2022-02-22)
parents a1821e12e28a
children 94dd3813f40d
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@24436 18 # What is the latest version available today?
pascal@24436 19 current_version()
pascal@24436 20 {
pascal@24436 21 wget -O - https://github.com/cyrusimap/cyrus-sasl/releases 2>/dev/null | \
pascal@24436 22 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
pascal@24436 23 }
pascal@24436 24
pascal@1205 25 # Rules to configure and make the package.
pascal@1205 26 compile_rules()
pascal@1205 27 {
Hans-G?nter@21286 28 # patch -Np1 -i $stuff/0027_db5_support.patch
Hans-G?nter@21286 29
Hans-G?nter@21286 30 ./configure \
Hans-G?nter@21286 31 --with-ldap=/usr \
Hans-G?nter@21286 32 --with-openssl=/usr \
Hans-G?nter@21286 33 --without-pam \
Hans-G?nter@21286 34 --with-devrandom=/dev/urandom \
pankso@10433 35 $CONFIGURE_ARGS
pascal@4273 36 sed -i 's/WITH_DES/WITH_DES 1/' config.h
Hans-G?nter@21286 37 make -j 1 &&
Hans-G?nter@21286 38 make install
pascal@1205 39 }
pascal@1205 40
pascal@1205 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1205 42 genpkg_rules()
pascal@1205 43 {
Hans-G?nter@21286 44 mkdir -p $fs/usr/lib/sasl2
Hans-G?nter@21286 45 mkdir -p $fs/var/state/saslauthd
Hans-G?nter@21286 46
Hans-G?nter@21286 47 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@21286 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21286 49 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
Hans-G?nter@21286 50 cp -a $stuff/etc $fs
erjo@4784 51
slaxemulator@9698 52 cat $stuff/*.files-list | while read file; do
erjo@4784 53 rm -rf $fs$file
erjo@4784 54 done
pascal@1205 55 }