wok diff wxWidgets28/receipt @ rev 24898

updated mdadm (4.1 -> 4.2)
author Hans-G?nter Theisgen
date Sat Apr 09 09:06:09 2022 +0100 (2022-04-09)
parents affba9aecc73
children d765616e1f3d
line diff
     1.1 --- a/wxWidgets28/receipt	Mon Oct 26 02:54:52 2015 +0200
     1.2 +++ b/wxWidgets28/receipt	Sat Apr 09 09:06:09 2022 +0100
     1.3 @@ -19,6 +19,14 @@
     1.4  xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng-dev tiff-dev \
     1.5  jpeg-dev xorg-libXpm-dev patch"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://sourceforge.net/projects/wxwindows/files/ 2>/dev/null | \
    1.11 +	sed '/2.8/!d;/scope="row/!d;s|.*href="|"https://sourceforge.net|' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/wxWidgets-2.8/!d;/tar..z/!d;s|.*wxWidgets-||;s|.tar.*||;s|-.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {