wok-6.x diff alsa-lib/receipt @ rev 24340

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 31 11:41:46 2022 +0000 (2022-01-31)
parents 0b02213fe0a1
children 1931b321046f
line diff
     1.1 --- a/alsa-lib/receipt	Mon Jun 01 09:10:42 2020 +0000
     1.2 +++ b/alsa-lib/receipt	Mon Jan 31 11:41:46 2022 +0000
     1.3 @@ -13,6 +13,12 @@
     1.4  
     1.5  DEPENDS="linux"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \
    1.10 +	sed '/alsa-lib-/!d;s|.*alsa-lib-||;s|.tar.*||;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {