wok diff barcode/receipt @ rev 25502

Up memtest-efi* (6.01)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 15 09:58:15 2023 +0000 (22 months ago)
parents 018132cf1318
children
line diff
     1.1 --- a/barcode/receipt	Fri Jan 03 07:10:40 2020 +0100
     1.2 +++ b/barcode/receipt	Sun Jan 15 09:58:15 2023 +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  {