wok diff task/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (2022-05-19)
parents 2ce8d8e11fff
children d531d97128bf
line diff
     1.1 --- a/task/receipt	Mon Feb 24 07:33:52 2020 +0100
     1.2 +++ b/task/receipt	Thu May 19 17:04:56 2022 +0000
     1.3 @@ -17,6 +17,13 @@
     1.4  BUILD_DEPENDS="cmake gcc83 gnutls-dev libgnutls libunistring-dev 
     1.5  	ncurses-dev util-linux-uuid-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {