wok-6.x rev 24071

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 10:35:01 2021 +0000 (2021-07-07)
parents 3cdc90c472a2
children 5d79829fa876
files alsaplayer/receipt beaver/receipt flac/receipt gpicview/receipt lcms2/receipt libcddb/receipt libfm-extra/receipt libfm/receipt libkeybinder/receipt libmad/receipt libpng/receipt lxappearance-obconf/receipt lxappearance/receipt lxde-icon-theme/receipt lxdm/receipt lxinput/receipt lxlauncher/receipt lxmenu-data/receipt lxpanel/receipt lxpolkit/receipt lxrandr/receipt lxsession-edit/receipt lxsession/receipt lxshortcut/receipt lxtask/receipt lxterminal/receipt lzma/receipt mate-notification-daemon/receipt memtest/receipt menu-cache/receipt mhwaveedit/receipt midori/receipt mtdev/receipt mtpaint/receipt nano/receipt ncurses/receipt ncursesw/receipt nettle/receipt ntfs-3g/receipt ntfsprogs/receipt obconf/receipt openbox/receipt pcmanfm/receipt pcre/receipt posixovl/receipt rp-pppoe/receipt sakura/receipt slim/receipt sysfsutils/receipt terminus-font-base/receipt ttf-dejavu/receipt wireless_tools/receipt yad-gtk2-html/receipt yad-gtk2/receipt yad-gtk3/receipt
line diff
     1.1 --- a/alsaplayer/receipt	Tue Jul 06 14:28:49 2021 +0000
     1.2 +++ b/alsaplayer/receipt	Wed Jul 07 10:35:01 2021 +0000
     1.3 @@ -23,8 +23,8 @@
     1.4  
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - ${WEB_SITE}download.php 2>/dev/null | \
     1.8 -	sed '/alsaplayer-/!d;s|.*alsaplayer-||;s|.tar.*||;q'
     1.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.10 +	sed '/Released/!d;s|.*: ||;s|<.*||'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.
     2.1 --- a/beaver/receipt	Tue Jul 06 14:28:49 2021 +0000
     2.2 +++ b/beaver/receipt	Wed Jul 07 10:35:01 2021 +0000
     2.3 @@ -19,8 +19,8 @@
     2.4  
     2.5  current_version()
     2.6  {
     2.7 -	wget -O - ${WEB_SITE}download.html 2>/dev/null | \
     2.8 -	sed '/tar/!d;s|.*beaver-||;s|.tar.*||;q'
     2.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    2.10 +	sed '/Stable/!d;s|.*Beaver ||;s| Stable.*||;q'
    2.11  }
    2.12  
    2.13  # Rules to configure and make the package.
     3.1 --- a/flac/receipt	Tue Jul 06 14:28:49 2021 +0000
     3.2 +++ b/flac/receipt	Wed Jul 07 10:35:01 2021 +0000
     3.3 @@ -20,7 +20,7 @@
     3.4  current_version()
     3.5  {
     3.6  	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
     3.7 -	sed '/flac-/!d;/tar/!d;s|.*"flac-||;s|.tar.*||' | sed '$!d'
     3.8 +	sed '/flac-/!d;/tar/!d;s|.*"flac-||;s|.tar.*||' | sort -V | sed '$!d'
     3.9  }
    3.10  
    3.11  # Rules to configure and make the package.
     4.1 --- a/gpicview/receipt	Tue Jul 06 14:28:49 2021 +0000
     4.2 +++ b/gpicview/receipt	Wed Jul 07 10:35:01 2021 +0000
     4.3 @@ -16,6 +16,13 @@
     4.4  BUILD_DEPENDS="gtk+-dev expat-dev glib-dev libgio-dev libpng-dev jpeg-dev"
     4.5  HOST_ARCH="i486 arm"
     4.6  
     4.7 +current_version()
     4.8 +{
     4.9 +	wget -O - https://sourceforge.net/projects/lxde/files/GPicView%20%28image%20Viewer%29/ 2>/dev/null | \
    4.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    4.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    4.12 +}
    4.13 +
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
     5.1 --- a/lcms2/receipt	Tue Jul 06 14:28:49 2021 +0000
     5.2 +++ b/lcms2/receipt	Wed Jul 07 10:35:01 2021 +0000
     5.3 @@ -14,6 +14,13 @@
     5.4  BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev"
     5.5  SPLIT="lcms2-apps"
     5.6  
     5.7 +current_version()
     5.8 +{
     5.9 +	wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \
    5.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    5.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    5.12 +}
    5.13 +
    5.14  # Rules to configure and make the package.
    5.15  compile_rules()
    5.16  {
     6.1 --- a/libcddb/receipt	Tue Jul 06 14:28:49 2021 +0000
     6.2 +++ b/libcddb/receipt	Wed Jul 07 10:35:01 2021 +0000
     6.3 @@ -10,6 +10,13 @@
     6.4  WEB_SITE="http://libcddb.sourceforge.net/"
     6.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     6.6  
     6.7 +current_version()
     6.8 +{
     6.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    6.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    6.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15  compile_rules()
    6.16  {
     7.1 --- a/libfm-extra/receipt	Tue Jul 06 14:28:49 2021 +0000
     7.2 +++ b/libfm-extra/receipt	Wed Jul 07 10:35:01 2021 +0000
     7.3 @@ -16,6 +16,12 @@
     7.4  DEPENDS="glib glibc-base libgio"
     7.5  BUILD_DEPENDS="automake gtk-doc libtool intltool"
     7.6  
     7.7 +current_version()
     7.8 +{
     7.9 +	wget -O - https://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM/ 2>/dev/null | \
    7.10 +	sed "/libfm-/!d;/tar/!d;s|.*libfm-\\(.*\\).tar.*\".*|\\1|;q"
    7.11 +}
    7.12 +
    7.13  # Rules to configure and make the package.
    7.14  compile_rules()
    7.15  {
     8.1 --- a/libfm/receipt	Tue Jul 06 14:28:49 2021 +0000
     8.2 +++ b/libfm/receipt	Wed Jul 07 10:35:01 2021 +0000
     8.3 @@ -25,6 +25,12 @@
     8.4  	i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool vala"
     8.5  esac
     8.6  
     8.7 +current_version()
     8.8 +{
     8.9 +	wget -O - https://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM/ 2>/dev/null | \
    8.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    8.11 +}
    8.12 +
    8.13  # Rules to configure and make the package.
    8.14  compile_rules()
    8.15  {
     9.1 --- a/libkeybinder/receipt	Tue Jul 06 14:28:49 2021 +0000
     9.2 +++ b/libkeybinder/receipt	Wed Jul 07 10:35:01 2021 +0000
     9.3 @@ -15,6 +15,12 @@
     9.4  BUILD_DEPENDS="gtk+-dev gobject-introspection-dev xorg-libXext-dev python-dev \
     9.5  pygtk-dev pygobject-dev automake autoconf libtool lua5.1-dev"
     9.6  
     9.7 +current_version()
     9.8 +{
     9.9 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    9.10 +	sed '/archive.*tags.v.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    9.11 +}
    9.12 +
    9.13  # Rules to configure and make the package.
    9.14  compile_rules()
    9.15  {
    10.1 --- a/libmad/receipt	Tue Jul 06 14:28:49 2021 +0000
    10.2 +++ b/libmad/receipt	Wed Jul 07 10:35:01 2021 +0000
    10.3 @@ -11,6 +11,13 @@
    10.4  WGET_URL="$SF_MIRROR/mad/$TARBALL"
    10.5  HOST_ARCH="i486 arm"
    10.6  
    10.7 +current_version()
    10.8 +{
    10.9 +	wget -O - https://sourceforge.net/projects/mad/files/libmad/ 2>/dev/null | \
   10.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   10.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   10.12 +}
   10.13 +
   10.14  # Rules to configure and make the package.
   10.15  compile_rules()
   10.16  {
    11.1 --- a/libpng/receipt	Tue Jul 06 14:28:49 2021 +0000
    11.2 +++ b/libpng/receipt	Wed Jul 07 10:35:01 2021 +0000
    11.3 @@ -19,6 +19,14 @@
    11.4  	arm) BUILD_DEPENDS="" ;;
    11.5  esac
    11.6  
    11.7 +current_version()
    11.8 +{
    11.9 +	wget -O - https://sourceforge.net/projects/libpng/files/ 2>/dev/null | \
   11.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   11.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   11.12 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   11.13 +}
   11.14 +
   11.15  # Rules to configure and make the package.
   11.16  compile_rules()
   11.17  {
    12.1 --- a/lxappearance-obconf/receipt	Tue Jul 06 14:28:49 2021 +0000
    12.2 +++ b/lxappearance-obconf/receipt	Wed Jul 07 10:35:01 2021 +0000
    12.3 @@ -20,6 +20,12 @@
    12.4  
    12.5  HOST_ARCH="i486 arm"
    12.6  
    12.7 +current_version()
    12.8 +{
    12.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXAppearance%20Obconf/ 2>/dev/null | \
   12.10 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   12.11 +}
   12.12 +
   12.13  # Rules to configure and make the package.
   12.14  compile_rules()
   12.15  {
    13.1 --- a/lxappearance/receipt	Tue Jul 06 14:28:49 2021 +0000
    13.2 +++ b/lxappearance/receipt	Wed Jul 07 10:35:01 2021 +0000
    13.3 @@ -15,6 +15,12 @@
    13.4  DEPENDS="gtk+"
    13.5  BUILD_DEPENDS="xorg-libX11-dev gtk+-dev"
    13.6  
    13.7 +current_version()
    13.8 +{
    13.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXAppearance/ 2>/dev/null | \
   13.10 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   13.11 +}
   13.12 +
   13.13  # Rules to configure and make the package.
   13.14  compile_rules()
   13.15  {
    14.1 --- a/lxde-icon-theme/receipt	Tue Jul 06 14:28:49 2021 +0000
    14.2 +++ b/lxde-icon-theme/receipt	Wed Jul 07 10:35:01 2021 +0000
    14.3 @@ -14,6 +14,12 @@
    14.4  DEPENDS=""
    14.5  BUILD_DEPENDS="coreutils"
    14.6  
    14.7 +current_version()
    14.8 +{
    14.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXDE%20Icon%20Theme/ 2>/dev/null | \
   14.10 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)\" .*|\\1|;q"
   14.11 +}
   14.12 +
   14.13  # Rules to configure and make the package.
   14.14  compile_rules()
   14.15  {
    15.1 --- a/lxdm/receipt	Tue Jul 06 14:28:49 2021 +0000
    15.2 +++ b/lxdm/receipt	Wed Jul 07 10:35:01 2021 +0000
    15.3 @@ -14,6 +14,12 @@
    15.4  DEPENDS="xorg-libX11 gtk+ slitaz-configs"
    15.5  BUILD_DEPENDS="xorg-dev gtk+-dev"
    15.6  
    15.7 +current_version()
    15.8 +{
    15.9 +	wget -O - https://sourceforge.net/projects/lxde/files/lxdm/ 2>/dev/null | \
   15.10 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)\" .*|\\1|;q"
   15.11 +}
   15.12 +
   15.13  # Rules to configure and make the package.
   15.14  compile_rules()
   15.15  {
    16.1 --- a/lxinput/receipt	Tue Jul 06 14:28:49 2021 +0000
    16.2 +++ b/lxinput/receipt	Wed Jul 07 10:35:01 2021 +0000
    16.3 @@ -18,6 +18,13 @@
    16.4  
    16.5  HOST_ARCH="i486 arm"
    16.6  
    16.7 +current_version()
    16.8 +{
    16.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXInput%20%28Kbd%20and%20amp_%20mouse%20config%29/ 2>/dev/null | \
   16.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   16.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   16.12 +}
   16.13 +
   16.14  # Rules to configure and make the package.
   16.15  compile_rules()
   16.16  {
    17.1 --- a/lxlauncher/receipt	Tue Jul 06 14:28:49 2021 +0000
    17.2 +++ b/lxlauncher/receipt	Wed Jul 07 10:35:01 2021 +0000
    17.3 @@ -18,6 +18,13 @@
    17.4  	menu-cache-dev startup-notification \
    17.5  	startup-notification-dev xorg-libX11-dev"
    17.6  
    17.7 +current_version()
    17.8 +{
    17.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXLauncher%20%28for%20Asus%20EeePC%29/ 2>/dev/null | \
   17.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   17.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   17.12 +}
   17.13 +
   17.14  # Rules to configure and make the package.
   17.15  compile_rules()
   17.16  {
    18.1 --- a/lxmenu-data/receipt	Tue Jul 06 14:28:49 2021 +0000
    18.2 +++ b/lxmenu-data/receipt	Wed Jul 07 10:35:01 2021 +0000
    18.3 @@ -15,6 +15,12 @@
    18.4  
    18.5  [ "$ARCH" = "i486" ] && BUILD_DEPENDS="gettext intltool"
    18.6  
    18.7 +current_version()
    18.8 +{
    18.9 +	wget -O - https://sourceforge.net/projects/lxde/files/lxmenu-data%20%28desktop%20menu%29/ 2>/dev/null | \
   18.10 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   18.11 +}
   18.12 +
   18.13  # Rules to configure and make the package.
   18.14  compile_rules()
   18.15  {
    19.1 --- a/lxpanel/receipt	Tue Jul 06 14:28:49 2021 +0000
    19.2 +++ b/lxpanel/receipt	Wed Jul 07 10:35:01 2021 +0000
    19.3 @@ -27,6 +27,13 @@
    19.4  		pluglist="netstatus,volumealsa,cpu,batt,xkb,thermal,cpufreq,monitors" ;;
    19.5  esac
    19.6  
    19.7 +current_version()
    19.8 +{
    19.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXPanel%20%28desktop%20panel%29/ 2>/dev/null | \
   19.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   19.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   19.12 +}
   19.13 +
   19.14  # Rules to configure and make the package.
   19.15  compile_rules()
   19.16  {
    20.1 --- a/lxpolkit/receipt	Tue Jul 06 14:28:49 2021 +0000
    20.2 +++ b/lxpolkit/receipt	Wed Jul 07 10:35:01 2021 +0000
    20.3 @@ -14,6 +14,12 @@
    20.4  DEPENDS="gtk+ polkit"
    20.5  BUILD_DEPENDS="gtk+-dev polkit-dev"
    20.6  
    20.7 +current_version()
    20.8 +{
    20.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXPolkit/ 2>/dev/null | \
   20.10 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   20.11 +}
   20.12 +
   20.13  # Rules to configure and make the package.
   20.14  compile_rules()
   20.15  {
    21.1 --- a/lxrandr/receipt	Tue Jul 06 14:28:49 2021 +0000
    21.2 +++ b/lxrandr/receipt	Wed Jul 07 10:35:01 2021 +0000
    21.3 @@ -17,6 +17,13 @@
    21.4  
    21.5  HOST_ARCH="i486 arm"
    21.6  
    21.7 +current_version()
    21.8 +{
    21.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXRandR%20%28monitor%20config%20tool%29/ 2>/dev/null | \
   21.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   21.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   21.12 +}
   21.13 +
   21.14  # Rules to configure and make the package.
   21.15  compile_rules()
   21.16  {
    22.1 --- a/lxsession-edit/receipt	Tue Jul 06 14:28:49 2021 +0000
    22.2 +++ b/lxsession-edit/receipt	Wed Jul 07 10:35:01 2021 +0000
    22.3 @@ -16,6 +16,13 @@
    22.4  DEPENDS="gtk+ lxsession"
    22.5  BUILD_DEPENDS="gtk+-dev"
    22.6  
    22.7 +current_version()
    22.8 +{
    22.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20Edit/ 2>/dev/null | \
   22.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   22.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   22.12 +}
   22.13 +
   22.14  # Rules to configure and make the package.
   22.15  compile_rules()
   22.16  {
    23.1 --- a/lxsession/receipt	Tue Jul 06 14:28:49 2021 +0000
    23.2 +++ b/lxsession/receipt	Wed Jul 07 10:35:01 2021 +0000
    23.3 @@ -17,6 +17,13 @@
    23.4  
    23.5  HOST_ARCH="i486 arm"
    23.6  
    23.7 +current_version()
    23.8 +{
    23.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20%28session%20manager%29/ 2>/dev/null | \
   23.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   23.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   23.12 +}
   23.13 +
   23.14  # Rules to configure and make the package.
   23.15  compile_rules()
   23.16  {
    24.1 --- a/lxshortcut/receipt	Tue Jul 06 14:28:49 2021 +0000
    24.2 +++ b/lxshortcut/receipt	Wed Jul 07 10:35:01 2021 +0000
    24.3 @@ -17,6 +17,13 @@
    24.4  BUILD_DEPENDS="pkg-config gettext intltool gtk+-dev \
    24.5  xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev"
    24.6  
    24.7 +current_version()
    24.8 +{
    24.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXShortcut%20%28edit%20app%20shortcut%29/ 2>/dev/null | \
   24.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   24.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   24.12 +}
   24.13 +
   24.14  # Rules to configure and make the package.
   24.15  compile_rules()
   24.16  {
    25.1 --- a/lxtask/receipt	Tue Jul 06 14:28:49 2021 +0000
    25.2 +++ b/lxtask/receipt	Wed Jul 07 10:35:01 2021 +0000
    25.3 @@ -17,6 +17,13 @@
    25.4  
    25.5  HOST_ARCH="i486 arm"
    25.6  
    25.7 +current_version()
    25.8 +{
    25.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXTask%20%28task%20manager%29/ 2>/dev/null | \
   25.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   25.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   25.12 +}
   25.13 +
   25.14  # Rules to configure and make the package.
   25.15  compile_rules()
   25.16  {
    26.1 --- a/lxterminal/receipt	Tue Jul 06 14:28:49 2021 +0000
    26.2 +++ b/lxterminal/receipt	Wed Jul 07 10:35:01 2021 +0000
    26.3 @@ -16,6 +16,13 @@
    26.4  DEPENDS="gtk+ vte"
    26.5  BUILD_DEPENDS="gtk+-dev intltool vte-dev vte-terminal"
    26.6  
    26.7 +current_version()
    26.8 +{
    26.9 +	wget -O - https://sourceforge.net/projects/lxde/files/LXTerminal%20%28terminal%20emulator%29/ 2>/dev/null | \
   26.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   26.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   26.12 +}
   26.13 +
   26.14  # Rules to configure and make the package.
   26.15  compile_rules()
   26.16  {
    27.1 --- a/lzma/receipt	Tue Jul 06 14:28:49 2021 +0000
    27.2 +++ b/lzma/receipt	Wed Jul 07 10:35:01 2021 +0000
    27.3 @@ -14,6 +14,13 @@
    27.4  
    27.5  DEPENDS="lzlib zlib gcc-lib-base"
    27.6  
    27.7 +current_version()
    27.8 +{
    27.9 +	wget -O - https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/ 2>/dev/null | \
   27.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   27.11 +	sed "/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE\\(.\\)\\(.*\\).tar.*\".*|\\1.\\2|;q"
   27.12 +}
   27.13 +
   27.14  # Rules to configure and make the package.
   27.15  compile_rules()
   27.16  {
    28.1 --- a/mate-notification-daemon/receipt	Tue Jul 06 14:28:49 2021 +0000
    28.2 +++ b/mate-notification-daemon/receipt	Wed Jul 07 10:35:01 2021 +0000
    28.3 @@ -17,6 +17,12 @@
    28.4  libcanberra-dev libwnck-dev libnotify-dev intltool"
    28.5  GENERIC_MENUS="no"
    28.6  
    28.7 +current_version()
    28.8 +{
    28.9 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
   28.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   28.11 +}
   28.12 +
   28.13  # Rules to configure and make the package.
   28.14  compile_rules()
   28.15  {
    29.1 --- a/memtest/receipt	Tue Jul 06 14:28:49 2021 +0000
    29.2 +++ b/memtest/receipt	Wed Jul 07 10:35:01 2021 +0000
    29.3 @@ -13,6 +13,12 @@
    29.4  
    29.5  BUILD_DEPENDS="xz"
    29.6  
    29.7 +current_version()
    29.8 +{
    29.9 +	wget -O - $WEB_SITE 2>/dev/null | \
   29.10 +	sed '/tar.gz"/!d;s|.*memtest86.-||;s|.tar.*||;q'
   29.11 +}
   29.12 +
   29.13  tune_lzma()
   29.14  {
   29.15  	cp $stuff/*.S $stuff/pack .
    30.1 --- a/menu-cache/receipt	Tue Jul 06 14:28:49 2021 +0000
    30.2 +++ b/menu-cache/receipt	Wed Jul 07 10:35:01 2021 +0000
    30.3 @@ -15,6 +15,12 @@
    30.4  DEPENDS="glib glibc-base libfm-extra libgio" # slitaz-menus ?
    30.5  BUILD_DEPENDS="gtk-doc libtool libfm-extra-dev"
    30.6  
    30.7 +current_version()
    30.8 +{
    30.9 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   30.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   30.11 +}
   30.12 +
   30.13  # Rules to configure and make the package.
   30.14  compile_rules()
   30.15  {
    31.1 --- a/mhwaveedit/receipt	Tue Jul 06 14:28:49 2021 +0000
    31.2 +++ b/mhwaveedit/receipt	Wed Jul 07 10:35:01 2021 +0000
    31.3 @@ -19,6 +19,12 @@
    31.4  
    31.5  HOST_ARCH="i486 arm"
    31.6  
    31.7 +current_version()
    31.8 +{
    31.9 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
   31.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   31.11 +}
   31.12 +
   31.13  # Rules to configure and make the package.
   31.14  compile_rules()
   31.15  {
    32.1 --- a/midori/receipt	Tue Jul 06 14:28:49 2021 +0000
    32.2 +++ b/midori/receipt	Wed Jul 07 10:35:01 2021 +0000
    32.3 @@ -26,6 +26,12 @@
    32.4  		librsvg-apps python vala"
    32.5  esac
    32.6  
    32.7 +current_version()
    32.8 +{
    32.9 +	wget -O - https://github.com/midori-browser/core/releases 2>/dev/null | \
   32.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   32.11 +}
   32.12 +
   32.13  # Rules to configure and make the package.
   32.14  compile_rules()
   32.15  {
    33.1 --- a/mtdev/receipt	Tue Jul 06 14:28:49 2021 +0000
    33.2 +++ b/mtdev/receipt	Wed Jul 07 10:35:01 2021 +0000
    33.3 @@ -13,6 +13,12 @@
    33.4  
    33.5  HOST_ARCH="i486 arm"
    33.6  
    33.7 +current_version()
    33.8 +{
    33.9 +	wget -O - $WEB_SITE 2>/dev/null | \
   33.10 +	sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   33.11 +}
   33.12 +
   33.13  # Rules to configure and make the package.
   33.14  compile_rules()
   33.15  {
    34.1 --- a/mtpaint/receipt	Tue Jul 06 14:28:49 2021 +0000
    34.2 +++ b/mtpaint/receipt	Wed Jul 07 10:35:01 2021 +0000
    34.3 @@ -18,6 +18,12 @@
    34.4  
    34.5  #HOST_ARCH="i486 arm"
    34.6  
    34.7 +current_version()
    34.8 +{
    34.9 +	wget -O - ${WEB_SITE}download.html 2>/dev/null | \
   34.10 +	sed '/HERE/!d;s|.*files.mtpaint.||;s|.">.*||'
   34.11 +}
   34.12 +
   34.13  # Rules to configure and make the package.
   34.14  compile_rules()
   34.15  {
    35.1 --- a/nano/receipt	Tue Jul 06 14:28:49 2021 +0000
    35.2 +++ b/nano/receipt	Wed Jul 07 10:35:01 2021 +0000
    35.3 @@ -24,6 +24,12 @@
    35.4  	arm*) BUILD_DEPENDS="ncursesw-dev zlib-dev" ;;
    35.5  esac
    35.6  
    35.7 +current_version()
    35.8 +{
    35.9 +	wget -O - $WEB_SITE 2>/dev/null | \
   35.10 +	sed '/^[0-9]/!d;s|&.*||;q'
   35.11 +}
   35.12 +
   35.13  # Rules to configure and make the package.
   35.14  compile_rules()
   35.15  {
    36.1 --- a/ncurses/receipt	Tue Jul 06 14:28:49 2021 +0000
    36.2 +++ b/ncurses/receipt	Wed Jul 07 10:35:01 2021 +0000
    36.3 @@ -20,6 +20,12 @@
    36.4  
    36.5  # @maintainer: Please update also: libform libmenu libpanel libtic libtinfo
    36.6  
    36.7 +current_version()
    36.8 +{
    36.9 +	wget -O - https://invisible-mirror.net/archives/ncurses/ 2>/dev/null | \
   36.10 +	sed '/ncurses-/!d;s|.*ncurses-||;s|.tar.*||' | sed '$!d'
   36.11 +}
   36.12 +
   36.13  # Rules to configure and make the package.
   36.14  compile_rules()
   36.15  {
    37.1 --- a/ncursesw/receipt	Tue Jul 06 14:28:49 2021 +0000
    37.2 +++ b/ncursesw/receipt	Wed Jul 07 10:35:01 2021 +0000
    37.3 @@ -21,6 +21,12 @@
    37.4  	arm) BUILD_DEPENDS="" ;;
    37.5  esac
    37.6  
    37.7 +current_version()
    37.8 +{
    37.9 +	wget -O - https://invisible-mirror.net/archives/ncurses/ 2>/dev/null | \
   37.10 +	sed '/ncurses-/!d;s|.*ncurses-||;s|.tar.*||' | sed '$!d'
   37.11 +}
   37.12 +
   37.13  # Rules to configure and make the package.
   37.14  compile_rules()
   37.15  {
    38.1 --- a/nettle/receipt	Tue Jul 06 14:28:49 2021 +0000
    38.2 +++ b/nettle/receipt	Wed Jul 07 10:35:01 2021 +0000
    38.3 @@ -22,6 +22,12 @@
    38.4  		ARCH_ARGS="--enable-arm-neon" ;;
    38.5  esac
    38.6  
    38.7 +current_version()
    38.8 +{
    38.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   38.10 +	sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   38.11 +}
   38.12 +
   38.13  # Rules to configure and make the package.
   38.14  compile_rules()
   38.15  {
    39.1 --- a/ntfs-3g/receipt	Tue Jul 06 14:28:49 2021 +0000
    39.2 +++ b/ntfs-3g/receipt	Wed Jul 07 10:35:01 2021 +0000
    39.3 @@ -16,6 +16,12 @@
    39.4  DEPENDS="fuse attr"
    39.5  BUILD_DEPENDS="fuse-dev attr-dev util-linux-uuid-dev libtool"
    39.6  
    39.7 +current_version()
    39.8 +{
    39.9 +	wget -O - https://github.com/tuxera/ntfs-3g/releases 2>/dev/null | \
   39.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   39.11 +}
   39.12 +
   39.13  # Rules to configure and make the package.
   39.14  compile_rules()
   39.15  {
    40.1 --- a/ntfsprogs/receipt	Tue Jul 06 14:28:49 2021 +0000
    40.2 +++ b/ntfsprogs/receipt	Wed Jul 07 10:35:01 2021 +0000
    40.3 @@ -14,6 +14,13 @@
    40.4  DEPENDS="fuse ntfs-3g util-linux-uuid"
    40.5  BUILD_DEPENDS="fuse"
    40.6  
    40.7 +current_version()
    40.8 +{
    40.9 +	wget -O - https://sourceforge.net/projects/linux-ntfs/files/NTFS%20Tools%20and%20Library/ 2>/dev/null | \
   40.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   40.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   40.12 +}
   40.13 +
   40.14  # Rules to configure and make the package.
   40.15  compile_rules()
   40.16  {
    41.1 --- a/obconf/receipt	Tue Jul 06 14:28:49 2021 +0000
    41.2 +++ b/obconf/receipt	Wed Jul 07 10:35:01 2021 +0000
    41.3 @@ -17,6 +17,12 @@
    41.4  BUILD_DEPENDS="gtk+-dev libglade-dev openbox-dev gdk-pixbuf-dev \
    41.5  startup-notification-dev xorg-libXft-dev"
    41.6  
    41.7 +current_version()
    41.8 +{
    41.9 +	wget -O - http://openbox.org/wiki/Openbox:Download 2>/dev/null | \
   41.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   41.11 +}
   41.12 +
   41.13  # Rules to configure and make the package.
   41.14  compile_rules()
   41.15  {
    42.1 --- a/openbox/receipt	Tue Jul 06 14:28:49 2021 +0000
    42.2 +++ b/openbox/receipt	Wed Jul 07 10:35:01 2021 +0000
    42.3 @@ -29,6 +29,12 @@
    42.4  	i?86) BUILD_DEPENDS="$BUILD_DEPENDS startup-notification-dev xorg-dev" ;;
    42.5  esac
    42.6  
    42.7 +current_version()
    42.8 +{
    42.9 +	wget -O - http://openbox.org/wiki/Openbox:Download 2>/dev/null | \
   42.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   42.11 +}
   42.12 +
   42.13  # Rules to configure and make the package.
   42.14  compile_rules()
   42.15  {
    43.1 --- a/pcmanfm/receipt	Tue Jul 06 14:28:49 2021 +0000
    43.2 +++ b/pcmanfm/receipt	Wed Jul 07 10:35:01 2021 +0000
    43.3 @@ -24,6 +24,12 @@
    43.4  	i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info intltool gvfs-dev" ;;
    43.5  esac
    43.6  
    43.7 +current_version()
    43.8 +{
    43.9 +	wget -O - https://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/ 2>/dev/null | \
   43.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   43.11 +}
   43.12 +
   43.13  # Rules to configure and make the package.
   43.14  compile_rules()
   43.15  {
    44.1 --- a/pcre/receipt	Tue Jul 06 14:28:49 2021 +0000
    44.2 +++ b/pcre/receipt	Wed Jul 07 10:35:01 2021 +0000
    44.3 @@ -13,6 +13,13 @@
    44.4  
    44.5  HOST_ARCH="i486 arm"
    44.6  
    44.7 +current_version()
    44.8 +{
    44.9 +	wget -O - https://sourceforge.net/projects/pcre/files/pcre/ 2>/dev/null | \
   44.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   44.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   44.12 +}
   44.13 +
   44.14  # Rules to configure and make the package.
   44.15  compile_rules()
   44.16  {
    45.1 --- a/posixovl/receipt	Tue Jul 06 14:28:49 2021 +0000
    45.2 +++ b/posixovl/receipt	Wed Jul 07 10:35:01 2021 +0000
    45.3 @@ -15,6 +15,12 @@
    45.4  DEPENDS="attr fuse"
    45.5  BUILD_DEPENDS="attr-dev autoconf automake fuse-dev"
    45.6  
    45.7 +current_version()
    45.8 +{
    45.9 +	wget -O - $WEB_SITE 2>/dev/null | \
   45.10 +	sed '/posixovl-/!d;s|.*posixovl-||;s|.tar.*||;q'
   45.11 +}
   45.12 +
   45.13  # Rules to configure and make the package.
   45.14  compile_rules()
   45.15  {
    46.1 --- a/rp-pppoe/receipt	Tue Jul 06 14:28:49 2021 +0000
    46.2 +++ b/rp-pppoe/receipt	Wed Jul 07 10:35:01 2021 +0000
    46.3 @@ -16,6 +16,12 @@
    46.4  
    46.5  HOST_ARCH="i486"
    46.6  
    46.7 +current_version()
    46.8 +{
    46.9 +	wget -O - $WEB_SITE 2>/dev/null | \
   46.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   46.11 +}
   46.12 +
   46.13  # Rules to configure and make the package.
   46.14  compile_rules()
   46.15  {
    47.1 --- a/sakura/receipt	Tue Jul 06 14:28:49 2021 +0000
    47.2 +++ b/sakura/receipt	Wed Jul 07 10:35:01 2021 +0000
    47.3 @@ -20,6 +20,12 @@
    47.4  	i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;;
    47.5  esac
    47.6  
    47.7 +current_version()
    47.8 +{
    47.9 +	wget -O - https://launchpad.net/sakura 2>/dev/null | \
   47.10 +	sed '/Latest version/!d;s|.* is ||;q'
   47.11 +}
   47.12 +
   47.13  # Rules to configure and make the package.
   47.14  compile_rules()
   47.15  {
    48.1 --- a/slim/receipt	Tue Jul 06 14:28:49 2021 +0000
    48.2 +++ b/slim/receipt	Wed Jul 07 10:35:01 2021 +0000
    48.3 @@ -29,6 +29,12 @@
    48.4  		LIBS=/cross/$ARCH/sysroot/usr/lib ;;
    48.5  esac
    48.6  
    48.7 +current_version()
    48.8 +{
    48.9 +	wget -O - https://github.com/iwamatsu/slim/releases 2>/dev/null | \
   48.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   48.11 +}
   48.12 +
   48.13  # Rules to configure and make the package.
   48.14  compile_rules()
   48.15  {
    49.1 --- a/sysfsutils/receipt	Tue Jul 06 14:28:49 2021 +0000
    49.2 +++ b/sysfsutils/receipt	Wed Jul 07 10:35:01 2021 +0000
    49.3 @@ -12,6 +12,13 @@
    49.4  
    49.5  DEPENDS="linux"
    49.6  
    49.7 +current_version()
    49.8 +{
    49.9 +	wget -O - https://sourceforge.net/projects/linux-diag/files/sysfsutils/ 2>/dev/null | \
   49.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   49.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   49.12 +}
   49.13 +
   49.14  # Rules to configure and make the package.
   49.15  compile_rules()
   49.16  {
    50.1 --- a/terminus-font-base/receipt	Tue Jul 06 14:28:49 2021 +0000
    50.2 +++ b/terminus-font-base/receipt	Wed Jul 07 10:35:01 2021 +0000
    50.3 @@ -14,6 +14,13 @@
    50.4  DEPENDS=""
    50.5  BUILD_DEPENDS="perl"
    50.6  
    50.7 +current_version()
    50.8 +{
    50.9 +	wget -O - https://sourceforge.net/projects/terminus-font/files/ 2>/dev/null | \
   50.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   50.11 +	sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q"
   50.12 +}
   50.13 +
   50.14  # Rules to configure and make the package.
   50.15  compile_rules()
   50.16  {
    51.1 --- a/ttf-dejavu/receipt	Tue Jul 06 14:28:49 2021 +0000
    51.2 +++ b/ttf-dejavu/receipt	Wed Jul 07 10:35:01 2021 +0000
    51.3 @@ -17,6 +17,12 @@
    51.4  
    51.5  HOST_ARCH="i486 arm"
    51.6  
    51.7 +current_version()
    51.8 +{
    51.9 +	wget -O - https://github.com/dejavu-fonts/dejavu-fonts/releases 2>/dev/null | \
   51.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   51.11 +}
   51.12 +
   51.13  # Rules to configure and make the package.
   51.14  compile_rules()
   51.15  {
    52.1 --- a/wireless_tools/receipt	Tue Jul 06 14:28:49 2021 +0000
    52.2 +++ b/wireless_tools/receipt	Wed Jul 07 10:35:01 2021 +0000
    52.3 @@ -15,6 +15,12 @@
    52.4  TAGS="wireless wifi network"
    52.5  DEPENDS=""
    52.6  
    52.7 +current_version()
    52.8 +{
    52.9 +	wget -O - $WEB_SITE 2>/dev/null | \
   52.10 +	sed '/tar.gz/!d;s|.*"wireless_tools.||;s|.tar.*||;q'
   52.11 +}
   52.12 +
   52.13  # Rules to configure and make the package.
   52.14  compile_rules()
   52.15  {
    53.1 --- a/yad-gtk2-html/receipt	Tue Jul 06 14:28:49 2021 +0000
    53.2 +++ b/yad-gtk2-html/receipt	Wed Jul 07 10:35:01 2021 +0000
    53.3 @@ -18,6 +18,12 @@
    53.4  	libgio libsoup libwebkit pango pcre zlib"
    53.5  BUILD_DEPENDS="gtk+-dev libwebkit-dev"
    53.6  
    53.7 +current_version()
    53.8 +{
    53.9 +	wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \
   53.10 +	sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q"
   53.11 +}
   53.12 +
   53.13  # Rules to configure and make the package.
   53.14  compile_rules()
   53.15  {
    54.1 --- a/yad-gtk2/receipt	Tue Jul 06 14:28:49 2021 +0000
    54.2 +++ b/yad-gtk2/receipt	Wed Jul 07 10:35:01 2021 +0000
    54.3 @@ -20,6 +20,12 @@
    54.4  
    54.5  HOST_ARCH="i486 arm"
    54.6  
    54.7 +current_version()
    54.8 +{
    54.9 +	wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \
   54.10 +	sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q"
   54.11 +}
   54.12 +
   54.13  # Rules to configure and make the package.
   54.14  compile_rules()
   54.15  {
    55.1 --- a/yad-gtk3/receipt	Tue Jul 06 14:28:49 2021 +0000
    55.2 +++ b/yad-gtk3/receipt	Wed Jul 07 10:35:01 2021 +0000
    55.3 @@ -18,6 +18,12 @@
    55.4  	zlib"
    55.5  BUILD_DEPENDS="gtk+3-dev"
    55.6  
    55.7 +current_version()
    55.8 +{
    55.9 +	wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \
   55.10 +	sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q"
   55.11 +}
   55.12 +
   55.13  # Rules to configure and make the package.
   55.14  compile_rules()
   55.15  {