wok-6.x diff vcdimager/receipt @ rev 24415
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 18:04:02 2022 +0000 (2022-02-10) |
parents | 4a6cec986bf8 |
children |
line diff
1.1 --- a/vcdimager/receipt Sun Mar 31 13:48:00 2019 +0200 1.2 +++ b/vcdimager/receipt Thu Feb 10 18:04:02 2022 +0000 1.3 @@ -8,12 +8,19 @@ 1.4 LICENSE="GPL2" 1.5 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.6 WEB_SITE="http://www.vcdimager.org/" 1.7 -WGET_URL="ftp://ftp.gnu.org/gnu/vcdimager/$TARBALL" 1.8 +WGET_URL="http://ftp.gnu.org/gnu/vcdimager/$TARBALL" 1.9 TAGS="multimedia video vcd" 1.10 1.11 DEPENDS="libcdio libxml2 popt" 1.12 BUILD_DEPENDS="libcdio libcdio-dev libxml2-dev popt-dev" 1.13 1.14 +# What is the latest version available today? 1.15 +current_version() 1.16 +{ 1.17 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.18 + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q 1.19 +} 1.20 + 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 {