wok diff wxWidgets28/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 affba9aecc73
children d765616e1f3d
line diff
     1.1 --- a/wxWidgets28/receipt	Mon Oct 26 02:54:52 2015 +0200
     1.2 +++ b/wxWidgets28/receipt	Thu Apr 07 07:20:18 2022 +0000
     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  {