wok-current annotate gsasl/receipt @ rev 24519

updated etherape (0.9.18 -> 0.9.20)
author Hans-G?nter Theisgen
date Tue Feb 22 14:48:21 2022 +0100 (2022-02-22)
parents 7751c1676f43
children 5056c151cd62
rev   line source
pascal@2132 1 # SliTaz package receipt.
pascal@2132 2
pascal@2132 3 PACKAGE="gsasl"
Hans-G?nter@22882 4 VERSION="1.8.1"
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@22882 14 DEPENDS="gnutls libcomerr3 libgcrypt libgpg-error libidn libkrb5
Hans-G?nter@22882 15 libtasn1 ncurses readline zlib"
Hans-G?nter@22882 16 BUILD_DEPENDS="libgcrypt-dev"
pascal@2132 17
pascal@24336 18 # What is the latest version available today?
pascal@24336 19 current_version()
pascal@24336 20 {
pascal@24336 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24336 22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24336 23 }
pascal@24336 24
pascal@2132 25 # Rules to configure and make the package.
pascal@2132 26 compile_rules()
pascal@2132 27 {
Hans-G?nter@21004 28 ./configure \
Hans-G?nter@21004 29 --prefix=/usr \
Hans-G?nter@21004 30 --infodir=/usr/share/info \
Hans-G?nter@21004 31 --mandir=/usr/share/man \
Hans-G?nter@21004 32 $CONFIGURE_ARGS &&
Hans-G?nter@21004 33 make $MAKEFLAGS -j 1 &&
pascal@15265 34 make DESTDIR=$DESTDIR install
pascal@2132 35 }
pascal@2132 36
pascal@2132 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2132 38 genpkg_rules()
pascal@2132 39 {
pascal@2132 40 mkdir -p $fs/usr/lib
Hans-G?nter@22882 41
Hans-G?nter@21004 42 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21004 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@2132 44 }