wok diff rlwrap/receipt @ rev 24533

updated f3 (7.2 -> 8.0)
author Hans-G?nter Theisgen
date Wed Feb 23 11:14:10 2022 +0100 (2022-02-23)
parents 64d9f0db2734
children e1e1678c5265
line diff
     1.1 --- a/rlwrap/receipt	Sun Sep 15 10:00:17 2019 +0100
     1.2 +++ b/rlwrap/receipt	Wed Feb 23 11:14:10 2022 +0100
     1.3 @@ -6,13 +6,20 @@
     1.4  SHORT_DESC="Input history wrapper using GNU readline."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -WEB_SITE="https://github.com/hanslub42/rlwrap/"
     1.8 +WEB_SITE="https://github.com/hanslub42/rlwrap"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL"
    1.12  
    1.13  BUILD_DEPENDS="automake ncurses-dev readline-dev"
    1.14  
    1.15 +# What is the latest version available today?
    1.16 +current_version()
    1.17 +{
    1.18 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    1.19 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.20 +}
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {