wok diff barcode/receipt @ rev 25040
cups-filters: use standard c++14
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 27 07:47:27 2022 +0100 (2022-05-27) |
parents | 018132cf1318 |
children |
line diff
1.1 --- a/barcode/receipt Fri Jan 03 07:10:40 2020 +0100 1.2 +++ b/barcode/receipt Fri May 27 07:47:27 2022 +0100 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 {