wok-current diff jack-audio-connection-kit/receipt @ rev 24445
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 14 14:14:23 2022 +0000 (2022-02-14) |
parents | 432dd31a79d5 |
children | 57462eac4c41 |
line diff
1.1 --- a/jack-audio-connection-kit/receipt Wed Oct 02 17:23:06 2019 +0200 1.2 +++ b/jack-audio-connection-kit/receipt Mon Feb 14 14:14:23 2022 +0000 1.3 @@ -16,6 +16,13 @@ 1.4 BUILD_DEPENDS="alsa-lib-dev libsamplerate-dev db-dev util-linux-uuid-dev" 1.5 HOST_ARCH="i486 arm" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.11 + sed '/archive\/v[0-9]/!d;/tar/!d;s|.*archive/v||;s|.tar.*||;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {