wok-current diff mb-applet-volume/receipt @ rev 25026
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 10:39:49 2022 +0000 (2022-05-19) |
parents | d3eb5f4b53ea |
children | d358ff3c7097 |
line diff
1.1 --- a/mb-applet-volume/receipt Thu Mar 26 09:34:19 2015 +0100 1.2 +++ b/mb-applet-volume/receipt Thu May 19 10:39:49 2022 +0000 1.3 @@ -13,6 +13,15 @@ 1.4 DEPENDS="gtk+ libmatchbox" 1.5 BUILD_DEPENDS="gtk+-dev libmatchbox-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - http://mirrors.kernel.org/yocto/matchbox/mb-applet-volume/$( \ 1.11 + wget -O - http://mirrors.kernel.org/yocto/matchbox/mb-applet-volume/ 2>/dev/null | \ 1.12 + sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ 1.13 + sed '/href="mb-applet-volume-[0-9]/!d;s|.*="mb-applet-volume-||;s|.tar.*||' | sort -Vr | sed q 1.14 +} 1.15 + 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 {