wok diff libav/receipt @ rev 24384

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 16:04:43 2022 +0000 (2022-02-06)
parents 095836df71b7
children d77ab883a8b3
line diff
     1.1 --- a/libav/receipt	Thu Jan 27 12:16:00 2022 +0000
     1.2 +++ b/libav/receipt	Sun Feb 06 16:04:43 2022 +0000
     1.3 @@ -23,8 +23,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - https://github.com/andoma/libav/tags 2>/dev/null | \
     1.8 -	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
     1.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.10 +	sed '/Libav/!d;/<h/!d;s|.*Libav ||;s|<.*||;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.