wok-6.x diff xplanet/receipt @ rev 24108

Up rdesktop (1.9.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 08:31:51 2021 +0000 (2021-09-28)
parents af8a8f177c6c
children f9c2c6b32e72
line diff
     1.1 --- a/xplanet/receipt	Sat Sep 12 19:55:05 2015 +0200
     1.2 +++ b/xplanet/receipt	Tue Sep 28 08:31:51 2021 +0000
     1.3 @@ -17,6 +17,13 @@
     1.4  xorg-libX11-dev freetype-dev pango-dev fontconfig-dev glib-dev \
     1.5  xorg-libXau-dev xorg-libXdmcp-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    1.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {