wok diff opusfile/receipt @ rev 24066

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 05 15:00:07 2021 +0000 (2021-07-05)
parents 56ee356284c6
children 095836df71b7
line diff
     1.1 --- a/opusfile/receipt	Sat May 23 18:02:24 2020 +0000
     1.2 +++ b/opusfile/receipt	Mon Jul 05 15:00:07 2021 +0000
     1.3 @@ -13,6 +13,12 @@
     1.4  DEPENDS="libssl libogg opus"
     1.5  BUILD_DEPENDS="openssl-dev libogg libogg-dev opus-dev pkg-config"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \
    1.10 +	sed '/opusfile/!d;/tar/!d;s|.*/opusfile-||;s|.tar.*||;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {