wok diff buffer/receipt @ rev 25371

updated tmux-mem-cpu-load (3.4.0 -> 3.6.0)
author Hans-G?nter Theisgen
date Fri Jul 29 14:34:07 2022 +0100 (2022-07-29)
parents a511baf85854
children
line diff
     1.1 --- a/buffer/receipt	Wed Jul 06 10:09:09 2016 +0300
     1.2 +++ b/buffer/receipt	Fri Jul 29 14:34:07 2022 +0100
     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  {