wok diff barcode/receipt @ rev 24975

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 16:22:04 2022 +0000 (2022-05-02)
parents 018132cf1318
children
line diff
     1.1 --- a/barcode/receipt	Fri Jan 03 07:10:40 2020 +0100
     1.2 +++ b/barcode/receipt	Mon May 02 16:22:04 2022 +0000
     1.3 @@ -9,10 +9,16 @@
     1.4  WEB_SITE="https://www.gnu.org/software/barcode/"
     1.5  
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
     1.8 +WGET_URL="https://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
     1.9  
    1.10  BUILD_DEPENDS="automake libtool texinfo"
    1.11  
    1.12 +# What is the latest version available today?
    1.13 +current_version()
    1.14 +{
    1.15 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.16 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.17 +}
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {