wok diff matchbox-panel-manager/receipt @ rev 24453
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 15 18:29:48 2022 +0000 (2022-02-15) |
parents | d3eb5f4b53ea |
children | 9b180a3071fb |
line diff
1.1 --- a/matchbox-panel-manager/receipt Thu Mar 26 09:34:19 2015 +0100 1.2 +++ b/matchbox-panel-manager/receipt Tue Feb 15 18:29:48 2022 +0000 1.3 @@ -13,6 +13,15 @@ 1.4 DEPENDS="gtk+ matchbox-panel" 1.5 BUILD_DEPENDS="gtk+-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/matchbox-panel-manager/$( \ 1.11 + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel-manager/ 2>/dev/null | \ 1.12 + sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ 1.13 + sed '/href="matchbox-panel-manager-[0-9]/!d;s|.*="matchbox-panel-manager-||;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 {