wok-6.x annotate gsasl/receipt @ rev 24780

transmission: autoconf 2.70+ bug workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 20:17:02 2022 +0000 (2022-03-19)
parents 71360a13cd94
children
rev   line source
pascal@2132 1 # SliTaz package receipt.
pascal@2132 2
pascal@2132 3 PACKAGE="gsasl"
Hans-G?nter@24627 4 VERSION="1.10.0"
pascal@2132 5 CATEGORY="system-tools"
pascal@2132 6 SHORT_DESC="Simple Authentication and Security Layer."
pascal@2132 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15265 8 LICENSE="GPL3"
Hans-G?nter@21004 9 WEB_SITE="https://www.gnu.org/software/$PACKAGE/"
Hans-G?nter@21004 10
pascal@2132 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21004 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@15265 13
Hans-G?nter@24627 14 SUGGESTED="gsasl-lang"
Hans-G?nter@24627 15 DEPENDS="gnutls libcomerr3 libgcrypt libgpg-error libidn libkrb5
Hans-G?nter@22882 16 libtasn1 ncurses readline zlib"
Hans-G?nter@22882 17 BUILD_DEPENDS="libgcrypt-dev"
pascal@2132 18
pascal@24336 19 # What is the latest version available today?
pascal@24336 20 current_version()
pascal@24336 21 {
pascal@24336 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 24 }
pascal@24336 25
pascal@2132 26 # Rules to configure and make the package.
pascal@2132 27 compile_rules()
pascal@2132 28 {
Hans-G?nter@21004 29 ./configure \
Hans-G?nter@21004 30 --prefix=/usr \
Hans-G?nter@21004 31 --infodir=/usr/share/info \
Hans-G?nter@21004 32 --mandir=/usr/share/man \
Hans-G?nter@21004 33 $CONFIGURE_ARGS &&
Hans-G?nter@24627 34 make $MAKEFLAGS &&
Hans-G?nter@24627 35 make install DESTDIR=$DESTDIR
pascal@2132 36 }
pascal@2132 37
pascal@2132 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2132 39 genpkg_rules()
pascal@2132 40 {
Hans-G?nter@24627 41 cook_copy_folders bin
Hans-G?nter@24627 42 cook_copy_files *.so*
pascal@2132 43 }