wok annotate libidn/receipt @ rev 25608

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 09:05:42 2023 +0000 (10 months ago)
parents 47332d4af699
children
rev   line source
pascal@2133 1 # SliTaz package receipt.
pascal@2133 2
pascal@2133 3 PACKAGE="libidn"
Hans-G?nter@24800 4 VERSION="1.38"
pascal@2133 5 CATEGORY="system-tools"
pascal@2133 6 SHORT_DESC="Encode and decode internationalized domain names."
pascal@2133 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15227 8 LICENSE="GPL3 LGPL2.1"
Hans-G?nter@21239 9 WEB_SITE="https://www.gnu.org/software/$PACKAGE/"
Hans-G?nter@21239 10
pascal@2133 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2133 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@21239 13
Hans-G?nter@24800 14 SUGGESTED="libidn-lang"
Hans-G?nter@24800 15
pankso@15963 16 HOST_ARCH="i486 arm"
pascal@2133 17
pascal@25608 18 # What is the latest version available today?
pascal@24072 19 current_version()
pascal@24072 20 {
pascal@25608 21 wget -O - https://ftp.gnu.org/gnu/libidn/ 2>/dev/null | \
pascal@24072 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 23 }
pascal@24072 24
pascal@2133 25 # Rules to configure and make the package.
pascal@2133 26 compile_rules()
pascal@2133 27 {
slaxemulator@10155 28 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@24800 29 make $MAKEFLAGS &&
pascal@15227 30 make install
pascal@2133 31 }
pascal@2133 32
pascal@2133 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2133 34 genpkg_rules()
pascal@2133 35 {
Hans-G?nter@24800 36 cook_copy_folders bin
Hans-G?nter@24800 37 cook_copy_files *.so*
pascal@2133 38 }