wok diff matchbox-themes-extra/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents 40fab26c175d
children 505d1daeed6c
line diff
     1.1 --- a/matchbox-themes-extra/receipt	Mon May 09 21:59:10 2016 +0300
     1.2 +++ b/matchbox-themes-extra/receipt	Tue May 10 07:46:58 2022 +0000
     1.3 @@ -11,6 +11,15 @@
     1.4  WGET_URL="${WEB_SITE}sources/$PACKAGE/$VERSION/$TARBALL"
     1.5  HOST_ARCH="any"
     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-themes-extra/$( \
    1.11 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-themes-extra/ 2>/dev/null | \
    1.12 +	sed '/href="[0(9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
    1.13 +	sed '/href="matchbox-themes-extra-[0-9]/!d;s|.*="matchbox-themes-extra-||;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  {