wok diff axel/receipt @ rev 25696

created recipe for dool
author Hans-G?nter Theisgen
date Sat May 11 17:17:55 2024 +0100 (6 months ago)
parents 0bf24f90afd9
children
line diff
     1.1 --- a/axel/receipt	Mon Jan 31 14:13:35 2022 +0100
     1.2 +++ b/axel/receipt	Sat May 11 17:17:55 2024 +0100
     1.3 @@ -17,10 +17,11 @@
     1.4  
     1.5  CONFIG_FILES="/etc/axelrc"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    1.11 -	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    1.12 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.