wok-6.x diff faad2/receipt @ rev 25472
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 11 07:33:58 2022 +0000 (2022-10-11) |
parents | f96e26cdfd7a |
children |
line diff
1.1 --- a/faad2/receipt Sat Aug 08 16:48:38 2020 +0000 1.2 +++ b/faad2/receipt Tue Oct 11 07:33:58 2022 +0000 1.3 @@ -11,6 +11,13 @@ 1.4 WGET_URL="$SF_MIRROR/faac/$TARBALL" 1.5 TAGS="decoder mp4 mpeg" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE/releases 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {