wok diff libmad/receipt @ rev 25609

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 14:03:05 2023 +0000 (16 months ago)
parents ee53899c6189
children
line diff
     1.1 --- a/libmad/receipt	Wed Jul 07 10:35:01 2021 +0000
     1.2 +++ b/libmad/receipt	Thu Jul 20 14:03:05 2023 +0000
     1.3 @@ -11,10 +11,11 @@
     1.4  WGET_URL="$SF_MIRROR/mad/$TARBALL"
     1.5  HOST_ARCH="i486 arm"
     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/mad/files/libmad/ 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 "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    1.14  }
    1.15