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

transmission: autoconf 2.70+ bug workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 20:17:02 2022 +0000 (2022-03-19)
parents 370da83187ab
children eec3edc6ef52
line diff
     1.1 --- a/cgdb/receipt	Fri Feb 04 09:24:50 2022 +0000
     1.2 +++ b/cgdb/receipt	Sat Mar 19 20:17:02 2022 +0000
     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.