wok-current diff libvalhalla/receipt @ rev 24694
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 13 12:06:14 2022 +0000 (2022-03-13) |
parents | 08c52f1e528e |
children |
line diff
1.1 --- a/libvalhalla/receipt Fri Jan 17 10:47:57 2020 +0100 1.2 +++ b/libvalhalla/receipt Sun Mar 13 12:06:14 2022 +0000 1.3 @@ -16,6 +16,13 @@ 1.4 BUILD_DEPENDS="ffmpeg-dev ffmpeg-compat-dev libsqlite sqlite-dev \ 1.5 libxml2-dev libexif-dev curl-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://github.com/GeeXboX/libvalhalla/tags 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.12 +} 1.13 + 1.14 # Handle cross compilation 1.15 case "$ARCH" in 1.16 i?86)