wok diff xget/receipt @ rev 25651

Up collectd-bind (5.12.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 04 17:49:25 2024 +0000 (9 months ago)
parents b0069c845544
children
line diff
     1.1 --- a/xget/receipt	Fri Oct 07 09:15:33 2022 +0000
     1.2 +++ b/xget/receipt	Sun Feb 04 17:49:25 2024 +0000
     1.3 @@ -14,10 +14,11 @@
     1.4  DEPENDS=""
     1.5  BUILD_DEPENDS="openssl openssl-dev elfutils-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - https://sourceforge.net/projects/$SOURCE/files/ 2>/dev/null | \
    1.11 -	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
    1.13  	sed '/files_name_h/!d;/XCPU/!d;s|.*XCPU/||;s|/.*||;q'
    1.14  }
    1.15