wok rev 24353

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 12:55:23 2022 +0000 (2022-02-03)
parents 419071fa3986
children 209f25cbe29f
files aaphoto/receipt abiword/receipt actionmailer/receipt actionpack/receipt activerecord/receipt activeresource/receipt activesupport/receipt aescrypt/receipt aespipe/receipt aiksaurus/receipt ario/receipt aterm/receipt barrage/receipt bcrypt/receipt beneath-a-steel-sky/receipt binclock/receipt btmgr/receipt qjackctl/receipt radiusclient-ng/receipt recordmydesktop/receipt slim-pam/receipt smake/receipt uemacs/receipt uml-utilities/receipt unfs3/receipt usbutils/receipt visualboyadvance/receipt wicd/receipt wipe/receipt wxdfast/receipt xine-lib/receipt xine-plugin/receipt xmlto/receipt
line diff
     1.1 --- a/aaphoto/receipt	Thu Feb 03 10:29:52 2022 +0000
     1.2 +++ b/aaphoto/receipt	Thu Feb 03 12:55:23 2022 +0000
     1.3 @@ -16,10 +16,15 @@
     1.4  DEPENDS="jasper jpeg libpng zlib"
     1.5  BUILD_DEPENDS="jpeg-dev jasper-dev libpng libpng-dev zlib-dev autoconf"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - $WEB_SITE 2>/dev/null | sed '/aaphoto v/!d;s|.*v||;s|<.*||'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -   	cd $src
    1.17  	./configure --prefix=/usr &&
    1.18  	make &&
    1.19  	make DESTDIR=$DESTDIR install
     2.1 --- a/abiword/receipt	Thu Feb 03 10:29:52 2022 +0000
     2.2 +++ b/abiword/receipt	Thu Feb 03 12:55:23 2022 +0000
     2.3 @@ -21,6 +21,16 @@
     2.4  enchant-dev wv-dev libgnomecanvas-dev libcroco-dev libboost-dev librsvg-dev"
     2.5  SUGGESTED="abiword-plugins"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - http://www.abisource.com/downloads/abiword/$( \ 
    2.11 +	wget -O - http://www.abisource.com/downloads/abiword/ 2>/dev/null | \
    2.12 +	sed "/latest/d;/\[DIR/!d;s|.*href=.\\([0-9\.]\\)/.*|\\1|" | sort -Vr | sed q)/source/ 2>/dev/null | \
    2.13 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    2.14 +}
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17  # Rules to configure and make the package.
    2.18  compile_rules()
    2.19  {
     3.1 --- a/actionmailer/receipt	Thu Feb 03 10:29:52 2022 +0000
     3.2 +++ b/actionmailer/receipt	Thu Feb 03 12:55:23 2022 +0000
     3.3 @@ -16,6 +16,12 @@
     3.4  
     3.5  COOK_OPT="!repack_src !unpack"
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q'
    3.11 +}
    3.12 +
    3.13  # Rules to configure and make the package.
    3.14  compile_rules()
    3.15  {
     4.1 --- a/actionpack/receipt	Thu Feb 03 10:29:52 2022 +0000
     4.2 +++ b/actionpack/receipt	Thu Feb 03 12:55:23 2022 +0000
     4.3 @@ -16,6 +16,12 @@
     4.4  
     4.5  COOK_OPT="!repack_src !unpack"
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q'
    4.11 +}
    4.12 +
    4.13  # Rules to configure and make the package.
    4.14  compile_rules()
    4.15  {
     5.1 --- a/activerecord/receipt	Thu Feb 03 10:29:52 2022 +0000
     5.2 +++ b/activerecord/receipt	Thu Feb 03 12:55:23 2022 +0000
     5.3 @@ -16,6 +16,12 @@
     5.4  
     5.5  COOK_OPT="!repack_src !unpack"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q'
    5.11 +}
    5.12 +
    5.13  # Rules to configure and make the package.
    5.14  compile_rules()
    5.15  {
     6.1 --- a/activeresource/receipt	Thu Feb 03 10:29:52 2022 +0000
     6.2 +++ b/activeresource/receipt	Thu Feb 03 12:55:23 2022 +0000
     6.3 @@ -16,6 +16,12 @@
     6.4  
     6.5  COOK_OPT="!repack_src !unpack"
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q'
    6.11 +}
    6.12 +
    6.13  # Rules to configure and make the package.
    6.14  compile_rules()
    6.15  {
     7.1 --- a/activesupport/receipt	Thu Feb 03 10:29:52 2022 +0000
     7.2 +++ b/activesupport/receipt	Thu Feb 03 12:55:23 2022 +0000
     7.3 @@ -16,6 +16,12 @@
     7.4  
     7.5  COOK_OPT="!repack_src !unpack"
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q'
    7.11 +}
    7.12 +
    7.13  # Rules to configure and make the package.
    7.14  compile_rules()
    7.15  {
     8.1 --- a/aescrypt/receipt	Thu Feb 03 10:29:52 2022 +0000
     8.2 +++ b/aescrypt/receipt	Thu Feb 03 12:55:23 2022 +0000
     8.3 @@ -12,6 +12,13 @@
     8.4  
     8.5  DEPENDS="glibc-base"
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - https://www.aescrypt.com/download/ 2>/dev/null | \
    8.11 +	sed '/[0-9].tgz/!d;s|.*aescrypt-||;s|.tgz.*||;q'
    8.12 +}
    8.13 +
    8.14  # Rules to configure and make the package.
    8.15  compile_rules()
    8.16  {
     9.1 --- a/aespipe/receipt	Thu Feb 03 10:29:52 2022 +0000
     9.2 +++ b/aespipe/receipt	Thu Feb 03 12:55:23 2022 +0000
     9.3 @@ -11,6 +11,14 @@
     9.4  TARBALL="$PACKAGE-v$VERSION.tar.bz2"
     9.5  WGET_URL="${WEB_SITE}files/$PACKAGE/v$VERSION/$TARBALL"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - https://sourceforge.net/projects/loop-aes/files/aespipe/ 2>/dev/null | \
    9.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    9.12 +	sed '/scope="row/!d;s|.*/aespipe/v||;s|/.*||;q'
    9.13 +}
    9.14 +
    9.15  # Rules to configure and make the package.
    9.16  compile_rules()
    9.17  {
    10.1 --- a/aiksaurus/receipt	Thu Feb 03 10:29:52 2022 +0000
    10.2 +++ b/aiksaurus/receipt	Thu Feb 03 12:55:23 2022 +0000
    10.3 @@ -13,6 +13,14 @@
    10.4  DEPENDS="gtk+ expat xorg-libXau glib"
    10.5  BUILD_DEPENDS="gtk+-dev patch expat-dev xorg-libXau-dev glib-dev"
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - https://sourceforge.net/projects/aiksaurus/files/aiksaurus/ 2>/dev/null | \
   10.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   10.12 +	sed '/scope="row/!d;s|.*/aiksaurus/||;s|/.*||;q'
   10.13 +}
   10.14 +
   10.15  # Rules to configure and make the package.
   10.16  compile_rules()
   10.17  {
    11.1 --- a/ario/receipt	Thu Feb 03 10:29:52 2022 +0000
    11.2 +++ b/ario/receipt	Thu Feb 03 12:55:23 2022 +0000
    11.3 @@ -17,6 +17,14 @@
    11.4  libtasn1-dev libgcrypt-dev curl-dev libglade-dev taglib-dev libmpdclient-dev \
    11.5  libgnutls"
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - https://sourceforge.net/projects/ario-player/files/ario-player/ 2>/dev/null | \
   11.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   11.12 +	sed '/scope="row/!d;s|.*/ario-player/||;s|/.*||;q'
   11.13 +}
   11.14 +
   11.15  # Rules to configure and make the package.
   11.16  compile_rules()
   11.17  {
    12.1 --- a/aterm/receipt	Thu Feb 03 10:29:52 2022 +0000
    12.2 +++ b/aterm/receipt	Thu Feb 03 12:55:23 2022 +0000
    12.3 @@ -15,6 +15,14 @@
    12.4  DEPENDS="xorg-libSM xorg-libXext"
    12.5  BUILD_DEPENDS="xorg-libSM-dev xorg-libXext-dev xorg-libXt-dev"
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - https://sourceforge.net/projects/aterm/files/aterm/ 2>/dev/null | \
   12.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   12.12 +	sed '/scope="row/!d;s|.*/aterm/||;s|/.*||;q'
   12.13 +}
   12.14 +
   12.15  # Rules to configure and make the package.
   12.16  compile_rules()
   12.17  {
    13.1 --- a/barrage/receipt	Thu Feb 03 10:29:52 2022 +0000
    13.2 +++ b/barrage/receipt	Thu Feb 03 12:55:23 2022 +0000
    13.3 @@ -13,6 +13,13 @@
    13.4  DEPENDS="libsdl libsdl-mixer"
    13.5  BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev"
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - https://sourceforge.net/projects/lgames/files/barrage/ 2>/dev/null | \
   13.11 +	sed '/scope="row/!d;/tar/!d;s|.*/barrage-||;s|.tar.*||;q'
   13.12 +}
   13.13 +
   13.14  # Rules to configure and make the package.
   13.15  compile_rules()
   13.16  {
    14.1 --- a/bcrypt/receipt	Thu Feb 03 10:29:52 2022 +0000
    14.2 +++ b/bcrypt/receipt	Thu Feb 03 12:55:23 2022 +0000
    14.3 @@ -14,6 +14,14 @@
    14.4  DEPENDS="zlib"
    14.5  BUILD_DEPENDS="zlib-dev"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - https://sourceforge.net/projects/bcrypt/files/bcrypt/ 2>/dev/null | \
   14.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   14.12 +	sed '/scope="row/!d;s|.*/bcrypt/||;s|/.*||;q'
   14.13 +}
   14.14 +
   14.15  # Rules to configure and make the package.
   14.16  compile_rules()
   14.17  {
    15.1 --- a/beneath-a-steel-sky/receipt	Thu Feb 03 10:29:52 2022 +0000
    15.2 +++ b/beneath-a-steel-sky/receipt	Thu Feb 03 12:55:23 2022 +0000
    15.3 @@ -12,6 +12,13 @@
    15.4  WEB_SITE="https://revolution.co.uk/games/beneath-a-steel-sky/"
    15.5  WGET_URL="http://downloads.sourceforge.net/scummvm/$TARBALL"
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - https://sourceforge.net/projects/scummvm/files/extras/Beneath%20a%20Steel%20Sky/ 2>/dev/null | \
   15.11 +	sed '/scope="row/!d;/bass-cd/!d;s|.*/bass-cd-||;s|.zip.*||;q'
   15.12 +}
   15.13 +
   15.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   15.15  genpkg_rules()
   15.16  {
    16.1 --- a/binclock/receipt	Thu Feb 03 10:29:52 2022 +0000
    16.2 +++ b/binclock/receipt	Thu Feb 03 12:55:23 2022 +0000
    16.3 @@ -14,6 +14,14 @@
    16.4  
    16.5  # No rules to configure and make the package.
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - https://sourceforge.net/projects/binclock/files/binclock/ 2>/dev/null | \
   16.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   16.12 +	sed '/scope="row/!d;/tar/!d;s|.*/binclock_||;s|.tar.*||;q'
   16.13 +}
   16.14 +
   16.15  # Rules to gen a SliTaz package suitable for Tazpkg.
   16.16  genpkg_rules()
   16.17  {
    17.1 --- a/btmgr/receipt	Thu Feb 03 10:29:52 2022 +0000
    17.2 +++ b/btmgr/receipt	Thu Feb 03 12:55:23 2022 +0000
    17.3 @@ -11,6 +11,14 @@
    17.4  WGET_URL="http://$PACKAGE.sourceforge.net/${VERSION%-*}/$TARBALL"
    17.5  TAGS="boot loader floppy CD"
    17.6  
    17.7 +# What is the latest version available today?
    17.8 +current_version()
    17.9 +{
   17.10 +	wget -O - https://sourceforge.net/projects/btmgr/files/btmgr/ 2>/dev/null | \
   17.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   17.12 +	sed '/scope="row/!d;s|.*/btmgr/||;s|/.*||;q'
   17.13 +}
   17.14 +
   17.15  # Rules to configure and make the package.
   17.16  compile_rules()
   17.17  {
    18.1 --- a/qjackctl/receipt	Thu Feb 03 10:29:52 2022 +0000
    18.2 +++ b/qjackctl/receipt	Thu Feb 03 12:55:23 2022 +0000
    18.3 @@ -18,6 +18,14 @@
    18.4  jack-audio-connection-kit-dev xorg-xproto xorg-libX11-dev"
    18.5  TAGS="audio sound"
    18.6  
    18.7 +# What is the latest version available today?
    18.8 +current_version()
    18.9 +{
   18.10 +	wget -O - https://sourceforge.net/projects/qjackctl/files/qjackctl/ 2>/dev/null | \
   18.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   18.12 +	sed '/scope="row/!d;s|.*/qjackctl/||;s|/.*||;q'
   18.13 +}
   18.14 +
   18.15  # Rules to configure and make the package.
   18.16  compile_rules()
   18.17  {
    19.1 --- a/radiusclient-ng/receipt	Thu Feb 03 10:29:52 2022 +0000
    19.2 +++ b/radiusclient-ng/receipt	Thu Feb 03 12:55:23 2022 +0000
    19.3 @@ -10,6 +10,13 @@
    19.4  WEB_SITE="https://sourceforge.net/projects/radiusclient-ng.berlios/"
    19.5  WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
    19.6  
    19.7 +# What is the latest version available today?
    19.8 +current_version()
    19.9 +{
   19.10 +	wget -O - https://sourceforge.net/projects/radiusclient-ng.berlios/files/ 2>/dev/null | \
   19.11 +	sed '/scope="row/!d;s|.*/radiusclient-ng-||;s|.tar.*||;q'
   19.12 +}
   19.13 +
   19.14  # Rules to configure and make the package.
   19.15  compile_rules()
   19.16  {
    20.1 --- a/recordmydesktop/receipt	Thu Feb 03 10:29:52 2022 +0000
    20.2 +++ b/recordmydesktop/receipt	Thu Feb 03 12:55:23 2022 +0000
    20.3 @@ -18,6 +18,14 @@
    20.4  DEPENDS="libtheora alsa-lib xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
    20.5  xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes zlib"
    20.6  
    20.7 +# What is the latest version available today?
    20.8 +current_version()
    20.9 +{
   20.10 +	wget -O - https://sourceforge.net/projects/recordmydesktop/files/recordmydesktop/ 2>/dev/null | \
   20.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   20.12 +	sed '/scope="row/!d;s|.*/recordmydesktop/||;s|/.*||;q'
   20.13 +}
   20.14 +
   20.15  # Rules to configure and make the package.
   20.16  compile_rules()
   20.17  {
    21.1 --- a/slim-pam/receipt	Thu Feb 03 10:29:52 2022 +0000
    21.2 +++ b/slim-pam/receipt	Thu Feb 03 12:55:23 2022 +0000
    21.3 @@ -19,6 +19,13 @@
    21.4  xorg-libXmu-dev pam-dev"
    21.5  RELATED="slim slim-theme-default"
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - https://sourceforge.net/projects/slim.berlios/files/ 2>/dev/null | \
   21.11 +	sed '/scope="row/!d;/slim-/!d;s|.*/slim-||;s|.tar.*||;q'
   21.12 +}
   21.13 +
   21.14  # Rules to configure and make the package.
   21.15  compile_rules()
   21.16  {
    22.1 --- a/smake/receipt	Thu Feb 03 10:29:52 2022 +0000
    22.2 +++ b/smake/receipt	Thu Feb 03 12:55:23 2022 +0000
    22.3 @@ -14,6 +14,13 @@
    22.4  DEPENDS=""
    22.5  BUILD_DEPENDS=""
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - https://sourceforge.net/projects/s-make/files/ 2>/dev/null | \
   22.11 +	sed '/scope="row/!d;/smake-/!d;s|.*/smake-||;s|.tar.*||;q'
   22.12 +}
   22.13 +
   22.14  # Rules to configure and make the package.
   22.15  compile_rules()
   22.16  {
    23.1 --- a/uemacs/receipt	Thu Feb 03 10:29:52 2022 +0000
    23.2 +++ b/uemacs/receipt	Thu Feb 03 12:55:23 2022 +0000
    23.3 @@ -15,6 +15,13 @@
    23.4  DEPENDS="ncurses"
    23.5  BUILD_DEPENDS="ncurses-dev"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - https://sourceforge.net/projects/slackbuildsdirectlinks/files/uemacs/ 2>/dev/null | \
   23.11 +	sed '/scope="row/!d;s|.*/uemacs||;s|.tar.*||;q'
   23.12 +}
   23.13 +
   23.14  # Rules to configure and make the package.
   23.15  compile_rules()
   23.16  {
    24.1 --- a/uml-utilities/receipt	Thu Feb 03 10:29:52 2022 +0000
    24.2 +++ b/uml-utilities/receipt	Thu Feb 03 12:55:23 2022 +0000
    24.3 @@ -15,6 +15,13 @@
    24.4  DEPENDS="readline ncurses fuse"
    24.5  BUILD_DEPENDS="readline-dev fuse-dev"
    24.6  
    24.7 +# What is the latest version available today?
    24.8 +current_version()
    24.9 +{
   24.10 +	wget -O - http://user-mode-linux.sourceforge.net/downloads.html 2>/dev/null | \
   24.11 +	sed '/tarball/!d;s|.*ies_||;s|.tar.*||'
   24.12 +}
   24.13 +
   24.14  # Rules to configure and make the package.
   24.15  compile_rules()
   24.16  {
    25.1 --- a/unfs3/receipt	Thu Feb 03 10:29:52 2022 +0000
    25.2 +++ b/unfs3/receipt	Thu Feb 03 12:55:23 2022 +0000
    25.3 @@ -15,6 +15,14 @@
    25.4  DEPENDS="portmap"
    25.5  BUILD_DEPENDS="flex"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - https://sourceforge.net/projects/unfs3/files/unfs3/ 2>/dev/null | \
   25.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   25.12 +	sed '/scope="row/!d;s|.*/unfs3/||;s|/.*||;q'
   25.13 +}
   25.14 +
   25.15  # Rules to configure and make the package.
   25.16  compile_rules()
   25.17  {
    26.1 --- a/usbutils/receipt	Thu Feb 03 10:29:52 2022 +0000
    26.2 +++ b/usbutils/receipt	Thu Feb 03 12:55:23 2022 +0000
    26.3 @@ -16,6 +16,13 @@
    26.4  DEPENDS="glibc-base libusb libusb-compat zlib usbids"
    26.5  BUILD_DEPENDS="libusb-dev pkg-config zlib-dev"
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - https://www.kernel.org/pub/linux/utils/usb/usbutils/ 2>/dev/null | \
   26.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   26.12 +}
   26.13 +
   26.14  # Rules to configure and make the package.
   26.15  compile_rules()
   26.16  {
    27.1 --- a/visualboyadvance/receipt	Thu Feb 03 10:29:52 2022 +0000
    27.2 +++ b/visualboyadvance/receipt	Thu Feb 03 12:55:23 2022 +0000
    27.3 @@ -16,6 +16,14 @@
    27.4  BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev \
    27.5  cairomm-dev libglade-dev libxml2-dev zlib-dev bison flex"
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - https://sourceforge.net/projects/vba/files/VisualBoyAdvance/ 2>/dev/null | \
   27.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   27.12 +	sed '/scope="row/!d;s|.*/VisualBoyAdvance/||;s|/.*||;q'
   27.13 +}
   27.14 +
   27.15  # Rules to configure and make the package.
   27.16  compile_rules()
   27.17  {
    28.1 --- a/wicd/receipt	Thu Feb 03 10:29:52 2022 +0000
    28.2 +++ b/wicd/receipt	Thu Feb 03 12:55:23 2022 +0000
    28.3 @@ -14,6 +14,14 @@
    28.4  DEPENDS="python dbus-python ethtool wpa_supplicant pygtk"
    28.5  BUILD_DEPENDS="python-distribute python-babel python-dev dbus-python-dev"
    28.6  
    28.7 +# What is the latest version available today?
    28.8 +current_version()
    28.9 +{
   28.10 +	wget -O - https://sourceforge.net/projects/wicd/files/wicd-stable/ 2>/dev/null | \
   28.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   28.12 +	sed '/scope="row/!d;s|.*/wicd-stable/wicd-||;s|/.*||;q'
   28.13 +}
   28.14 +
   28.15  # Rules to configure and make the package.
   28.16  compile_rules()
   28.17  {
    29.1 --- a/wipe/receipt	Thu Feb 03 10:29:52 2022 +0000
    29.2 +++ b/wipe/receipt	Thu Feb 03 12:55:23 2022 +0000
    29.3 @@ -13,6 +13,14 @@
    29.4  
    29.5  DEPENDS="glibc-base"
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - https://sourceforge.net/projects/wipe/files/wipe/ 2>/dev/null | \
   29.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   29.12 +	sed '/scope="row/!d;s|.*/wipe/||;s|/.*||;q'
   29.13 +}
   29.14 +
   29.15  # Rules to configure and make the package.
   29.16  compile_rules()
   29.17  {
    30.1 --- a/wxdfast/receipt	Thu Feb 03 10:29:52 2022 +0000
    30.2 +++ b/wxdfast/receipt	Thu Feb 03 12:55:23 2022 +0000
    30.3 @@ -13,6 +13,14 @@
    30.4  DEPENDS="wxWidgets28 xorg-libXdamage xorg-libXxf86vm"
    30.5  BUILD_DEPENDS="wxWidgets28-dev"
    30.6  
    30.7 +# What is the latest version available today?
    30.8 +current_version()
    30.9 +{
   30.10 +	wget -O - https://sourceforge.net/projects/dfast/files/wxDownload%20Fast/ 2>/dev/null | \
   30.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   30.12 +	sed '/scope="row/!d;s|.*/wxDownload%20Fast/||;s|/.*||;q'
   30.13 +}
   30.14 +
   30.15  # Rules to configure and make the package.
   30.16  compile_rules()
   30.17  {
    31.1 --- a/xine-lib/receipt	Thu Feb 03 10:29:52 2022 +0000
    31.2 +++ b/xine-lib/receipt	Thu Feb 03 12:55:23 2022 +0000
    31.3 @@ -28,6 +28,14 @@
    31.4  		ARCH_ARGS="--disable-xinerama" ;;
    31.5  esac
    31.6  
    31.7 +# What is the latest version available today?
    31.8 +current_version()
    31.9 +{
   31.10 +	wget -O - https://sourceforge.net/projects/xine/files/xine-lib/ 2>/dev/null | \
   31.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   31.12 +	sed '/scope="row/!d;s|.*/xine-lib/||;s|/.*||;q'
   31.13 +}
   31.14 +
   31.15  # Rules to configure and make the package.
   31.16  compile_rules()
   31.17  {
    32.1 --- a/xine-plugin/receipt	Thu Feb 03 10:29:52 2022 +0000
    32.2 +++ b/xine-plugin/receipt	Thu Feb 03 12:55:23 2022 +0000
    32.3 @@ -13,6 +13,14 @@
    32.4  DEPENDS="xine-lib firefox"
    32.5  BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - https://sourceforge.net/projects/xine/files/xine-plugin/ 2>/dev/null | \
   32.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   32.12 +	sed '/scope="row/!d;s|.*/xine-plugin/||;s|/.*||;q'
   32.13 +}
   32.14 +
   32.15  # Rules to configure and make the package.
   32.16  compile_rules()
   32.17  {
    33.1 --- a/xmlto/receipt	Thu Feb 03 10:29:52 2022 +0000
    33.2 +++ b/xmlto/receipt	Thu Feb 03 12:55:23 2022 +0000
    33.3 @@ -14,6 +14,14 @@
    33.4  DEPENDS="bash libxslt perl-test-pod perl-yaml-syck"
    33.5  BUILD_DEPENDS="docbook-xsl flex util-linux-getopt"
    33.6  
    33.7 +# What is the latest version available today?
    33.8 +current_version()
    33.9 +{
   33.10 +	wget -O - https://releases.pagure.org/xmlto/ 2>/dev/null | \
   33.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   33.12 +}
   33.13 +
   33.14 +# Rules to configure and make the package.
   33.15  # Rules to configure and make the package.
   33.16  compile_rules()
   33.17  {