wok diff tuxmath/receipt @ rev 24891

lynx: use ncursesw (tanks ceel)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 07 07:20:18 2022 +0000 (2022-04-07)
parents 612b5be4bfc5
children 1805f71c5d9f
line diff
     1.1 --- a/tuxmath/receipt	Mon Mar 30 14:17:01 2020 +0100
     1.2 +++ b/tuxmath/receipt	Thu Apr 07 07:20:18 2022 +0000
     1.3 @@ -19,6 +19,14 @@
     1.4  	libsdl-mixer-dev libsdl-net-dev libsdl-pango-dev 
     1.5  	libsdl-ttf-dev libt4k_common-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - $WEB_SITE$(wget -O - $WEB_SITE 2>/dev/null | \
    1.11 +	sed '/TuxMath-Source/!d;/Index/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    1.12 +	sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {