wok-6.x diff enna/receipt @ rev 25465
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 01 08:33:11 2022 +0000 (2022-10-01) |
parents | 53c1379e13fa |
children |
line diff
1.1 --- a/enna/receipt Mon Jan 13 11:52:56 2020 +0100 1.2 +++ b/enna/receipt Sat Oct 01 08:33:11 2022 +0000 1.3 @@ -21,6 +21,13 @@ 1.4 expat-dev jpeg-dev glib-dev ffmpeg-dev libvalhalla-dev libelementary \ 1.5 xorg-libXrandr-dev ffmpeg-compat-dev eeze-dev lua-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE 2>/dev/null | \ 1.11 + sed '/is available/!d;s|.*[ (]v|v|;s|[ )].*||;q' 1.12 +} 1.13 + 1.14 # Handle cross compilation 1.15 case "$ARCH" in 1.16 i?86) BUILD_DEPENDS="$BUILD_DEPENDS mercurial automake " ;;