wok annotate libtasn1/receipt @ rev 25609

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 14:03:05 2023 +0000 (10 months ago)
parents b26357903eb9
children 7a8b9cd09212
rev   line source
pankso@4358 1 # SliTaz package receipt.
pankso@4358 2
pankso@4358 3 PACKAGE="libtasn1"
Hans-G?nter@24836 4 VERSION="4.18.0"
pankso@4358 5 CATEGORY="security"
pankso@4358 6 SHORT_DESC="ASN.1 library."
pankso@4358 7 MAINTAINER="pankso@slitaz.org"
pascal@15482 8 LICENSE="GPL3 LGPL2.1"
Hans-G?nter@21317 9 WEB_SITE="https://www.gnu.org/software/libtasn1/"
Hans-G?nter@21317 10
pankso@4358 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4358 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@21317 13
Hans-G?nter@23107 14 DEPENDS="gcc83-lib-base"
Hans-G?nter@23107 15 BUILD_DEPENDS="gcc83"
Hans-G?nter@23107 16
pankso@16250 17 HOST_ARCH="i486 arm"
pankso@4358 18
pascal@25609 19 # What is the latest version available today?
pascal@24072 20 current_version()
pascal@24072 21 {
pascal@25609 22 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
pascal@24072 23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 24 }
pascal@24072 25
pankso@4358 26 # Rules to configure and make the package.
pankso@4358 27 compile_rules()
pankso@4358 28 {
Hans-G?nter@23107 29 ./configure \
Hans-G?nter@23107 30 CC=gcc-83 \
Hans-G?nter@23107 31 CXX=g++-83 \
pankso@4358 32 $CONFIGURE_ARGS &&
Hans-G?nter@24836 33 make &&
Hans-G?nter@21317 34 make install
pankso@4358 35 }
pankso@4358 36
pankso@4358 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4358 38 genpkg_rules()
pankso@4358 39 {
Hans-G?nter@24836 40 cook_copy_folders bin
Hans-G?nter@24836 41 cook_copy_files *.so*
pankso@4358 42 }