wok diff tuxmath/receipt @ rev 24908

updated mjpegtools and mjpegtools-dev (2.1.0 -> 2.2.1)
author Hans-G?nter Theisgen
date Sat Apr 09 15:21:07 2022 +0100 (2022-04-09)
parents 612b5be4bfc5
children 1805f71c5d9f
line diff
     1.1 --- a/tuxmath/receipt	Mon Mar 30 14:17:01 2020 +0100
     1.2 +++ b/tuxmath/receipt	Sat Apr 09 15:21:07 2022 +0100
     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  {