wok diff fox/receipt @ rev 24894

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 08 10:34:41 2022 +0000 (2022-04-08)
parents 7c20aa9c57d9
children 41a539cfe5f8
line diff
     1.1 --- a/fox/receipt	Sat Jan 25 15:44:07 2020 +0100
     1.2 +++ b/fox/receipt	Fri Apr 08 10:34:41 2022 +0000
     1.3 @@ -33,6 +33,13 @@
     1.4  		ARCH_ARGS="--with-opengl=no" ;;
     1.5  esac
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - ${WEB_SITE}/download.html 2>/dev/null | \
    1.11 +	sed '/fox-[0-9]/!d;/tar/!d;s|.*fox-||;s|.tar.*||' | sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {