wok-6.x diff mlt/receipt @ rev 24415
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 18:04:02 2022 +0000 (2022-02-10) |
parents | f985f12b5206 |
children |
line diff
1.1 --- a/mlt/receipt Mon Aug 19 17:12:45 2019 +0100 1.2 +++ b/mlt/receipt Thu Feb 10 18:04:02 2022 +0000 1.3 @@ -18,8 +18,13 @@ 1.4 libdv-dev libsamplerate-dev libsdl2-image-dev libxml2-dev \ 1.5 mesa-dev pulseaudio-dev Qt4-dev sox-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 - 1.15 compile_rules() 1.16 { 1.17 export CC=gcc-83