wok-6.x diff cgdb/receipt @ rev 24654

updated i7z (0.27.3 -> 0.27.4)
author Hans-G?nter Theisgen
date Fri Mar 11 06:54:52 2022 +0100 (2022-03-11)
parents 370da83187ab
children eec3edc6ef52
line diff
     1.1 --- a/cgdb/receipt	Fri Feb 04 09:24:50 2022 +0000
     1.2 +++ b/cgdb/receipt	Fri Mar 11 06:54:52 2022 +0100
     1.3 @@ -20,9 +20,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - https://sourceforge.net/projects/cgdb/files/cgdb/ 2>/dev/null | \
     1.8 -	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
     1.9 -	sed '/scope="row/!d;s|.*/cgdb/cgdb-||;s|/.*||;q'
    1.10 +	wget -O - https://github.com/cgdb/cgdb/tags 2>/dev/null | \
    1.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.12  }
    1.13  
    1.14  # Rules to configure and make the package.