wok diff buffer/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents a511baf85854
children
line diff
     1.1 --- a/buffer/receipt	Wed Jul 06 10:09:09 2016 +0300
     1.2 +++ b/buffer/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -8,11 +8,18 @@
     1.4  LICENSE="GPL2"
     1.5  WEB_SITE="http://www.mondorescue.org/"
     1.6  TARBALL="$PACKAGE-$VERSION.tgz"
     1.7 -WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL"
     1.8 +WGET_URL="http://ftp.mondorescue.org/src/$TARBALL"
     1.9  
    1.10  DEPENDS=""
    1.11  BUILD_DEPENDS=""
    1.12  
    1.13 +# What is the latest version available today?
    1.14 +current_version()
    1.15 +{
    1.16 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.17 +	sed "/latest/d;/$PACKAGE-/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*\".*|\\1|" | sort -Vr | sed q
    1.18 +}
    1.19 +
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {