wok-6.x diff opusfile/receipt @ rev 24308

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 17 18:18:17 2022 +0000 (2022-01-17)
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 Jan 17 18:18:17 2022 +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  {