wok diff matchbox-desktop/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 00e3b45c063b
line diff
     1.1 --- a/matchbox-desktop/receipt	Thu Mar 26 09:34:19 2015 +0100
     1.2 +++ b/matchbox-desktop/receipt	Tue Feb 15 18:29:48 2022 +0000
     1.3 @@ -13,6 +13,15 @@
     1.4  DEPENDS="gtk+ startup-notification libmatchbox"
     1.5  BUILD_DEPENDS="gtk+-dev startup-notification-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/matchbox-desktop/$( \
    1.11 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/ 2>/dev/null | \
    1.12 +	sed '/href="0/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
    1.13 +	sed '/href="matchbox-desktop-[0-9]/!d;s|.*="matchbox-desktop-||;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  {