# HG changeset patch # User Pascal Bellard # Date 1644077528 0 # Node ID 9af0e03b8ad07342096d5ff1dd1d16d3cd2b8c77 # Parent b0897e8bc1a4d3998e2b89cc3426a300f809138a Add some current_version diff -r b0897e8bc1a4 -r 9af0e03b8ad0 TeXmacs-windows-fonts/receipt --- a/TeXmacs-windows-fonts/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/TeXmacs-windows-fonts/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -8,10 +8,17 @@ LICENSE="LPPL" TARBALL="$PACKAGE-$VERSION-noarch.tar.gz" WEB_SITE="http://www.texmacs.org" -WGET_URL="ftp://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL" +WGET_URL="http://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL" DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-noarch.tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 aircrack-ng/receipt --- a/aircrack-ng/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/aircrack-ng/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,12 @@ DEPENDS="aircrack-ng-oui iw openssl sqlite zlib pylorcon" BUILD_DEPENDS="sqlite-dev pylorcon openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | sed 's|.*: ||' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 airstrike/receipt --- a/airstrike/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/airstrike/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,13 @@ # Packaging for SliTaz by Rene Rivero. +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Linux/!d;s|.*airstrike-||;s|-src.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 alarm-clock-applet/receipt --- a/alarm-clock-applet/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/alarm-clock-applet/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="libxml2-dev gtk+-dev gstreamer-dev GConf-dev gnome-icon-theme \ libnotify-dev libunique-dev wget" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/joh/alarm-clock/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 aldo/receipt --- a/aldo/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/aldo/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libao" BUILD_DEPENDS="libao-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/atest/!d;/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)<.*|\\1|" +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 alien/receipt --- a/alien/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/alien/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="perl rpm4 cpio" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/alien-pkg-convert/files/release/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/alien_||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 alpine/receipt --- a/alpine/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/alpine/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -17,6 +17,13 @@ #HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Release version /!d;s|.*version ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 amiwm/receipt --- a/amiwm/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/amiwm/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -9,12 +9,19 @@ WEB_SITE="http://www.lysator.liu.se/~marcus/amiwm.html" TARBALL="$PACKAGE$VERSION.tar.gz" -WGET_URL="ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/$TARBALL" +WGET_URL="http://ftp.lysator.liu.se/pub/X11/wm/amiwm/$TARBALL" DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu" BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libICE-dev xorg-libXt-dev \ xorg-libXmu-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + compile_rules() { patch -p1 < $stuff/patches/amiwm-man.patch ./configure $CONFIGURE_ARGS && diff -r b0897e8bc1a4 -r 9af0e03b8ad0 antiword/receipt --- a/antiword/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/antiword/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="${WEB_SITE}$TARBALL" TAGS="word reader convert" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/linux\/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 appdata-tools/receipt --- a/appdata-tools/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/appdata-tools/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gdk-pixbuf libsoup" BUILD_DEPENDS="gdk-pixbuf-dev libsoup-dev glib-dev sqlite-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 apr-util/receipt --- a/apr-util/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/apr-util/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -16,6 +16,13 @@ libpostgresqlclient libtool mysql-dev postgresql-dev sqlite-dev unixODBC-dev util-linux-uuid-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 apr/receipt --- a/apr/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/apr/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -16,6 +16,13 @@ CROSS="error: cannot check for file existence when cross compiling" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 arandr/receipt --- a/arandr/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/arandr/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="pygtk python xorg-xrandr" BUILD_DEPENDS="pygtk-dev python-docutils xorg-xrandr" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 arpwatch/receipt --- a/arpwatch/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/arpwatch/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libpcap" BUILD_DEPENDS="libpcap-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://ee.lbl.gov/downloads/arpwatch/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 asleap/receipt --- a/asleap/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/asleap/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,13 @@ WEB_SITE="https://www.willhackforsushi.com/?page_id=41" WGET_URL="http://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/code\/asleap/!d;/MD5/!d;s|.*asleap-||;s|.tgz.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 asterisk-sound-fr/receipt --- a/asterisk-sound-fr/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/asterisk-sound-fr/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="asterisk" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/asterisk-core-sounds-fr-gsm-/!d;/tar/!d;s|.*asterisk-core-sounds-fr-gsm-\(.*\).tar.*".*|\1|' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 asterisk-sound/receipt --- a/asterisk-sound/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/asterisk-sound/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="asterisk" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/asterisk-core-sounds-en-gsm-/!d;/tar/!d;s|.*asterisk-core-sounds-en-gsm-\(.*\).tar.*".*|\1|' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 aubio/receipt --- a/aubio/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/aubio/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -18,6 +18,13 @@ libogg-dev libsamplerate libsamplerate-dev libsndfile-dev \ libvorbis-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 audiofile/receipt --- a/audiofile/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/audiofile/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="alsa-lib" BUILD_DEPENDS="alsa-lib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/mpruett/audiofile/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/audiofile-\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 audit/receipt --- a/audit/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/audit/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="openldap-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/audit-/!d;s|.*audit-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 aufs-utils/receipt --- a/aufs-utils/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/aufs-utils/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="aufs" BUILD_DEPENDS="git linux-module-headers aufs" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/p/aufs/aufs-util/ci/${BRANCH#*/}/tree/ 2>/dev/null | \ + sed '/^ *20[0-9-]*$/!d;s|-||g;s| *||' | sort -r | uniq | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 autossh/receipt --- a/autossh/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/autossh/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="openssh" BUILD_DEPENDS="openssh" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Version/!d;s|.*ersion ||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 avant-window-navigator/receipt --- a/avant-window-navigator/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/avant-window-navigator/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="librsvg-dev libwnck-dev pygtk-dev python-xdg intltool \ dbus-glib-dev python-dev libdesktop-agnostic-dev libgtop-dev GConf-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/p12tic/awn/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 avatar-factory/receipt --- a/avatar-factory/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/avatar-factory/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="bash findutils imagemagick sed zenity" BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - https://launchpad.net/avatar-factory/+download 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/bz2/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 avidemux/receipt --- a/avidemux/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/avidemux/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -18,6 +18,13 @@ opencore-amr-dev x264-dev faac-dev faad2-dev libsamplerate-dev alsa-lib-dev \ libxslt-dev libvpx-dev gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://avidemux.sourceforge.net/download.html 2>/dev/null | \ + sed '/tar.gz/!d;s|.*mux_||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 avrdude/receipt --- a/avrdude/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/avrdude/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="$DEPENDS libusb-compat-dev libusb-dev libftdi-dev elfutils-dev \ file" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 b43-fwcutter/receipt --- a/b43-fwcutter/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/b43-fwcutter/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 bacon/receipt --- a/bacon/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/bacon/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gtk+" BUILD_DEPENDS="gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 balance/receipt --- a/balance/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/balance/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -2,7 +2,7 @@ PACKAGE="balance" VERSION="3.57" -CATEGORY="system-tools" +CATEGORY="network" TAGS="web internet load-balancing proxy tcp ipv6" SHORT_DESC="Generic tcp proxy with round robin load balancing and failover." MAINTAINER="pascal.bellard@slitaz.org" @@ -12,6 +12,13 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://www.inlab.net/wp-content/uploads/2018/05/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://download.inlab.net/Balance/ 2>/dev/null | \ + sed '/href="[0-9]/!d;s|.*href="||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 barcode/receipt --- a/barcode/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/barcode/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -9,10 +9,16 @@ WEB_SITE="https://www.gnu.org/software/barcode/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" +WGET_URL="https://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" BUILD_DEPENDS="automake libtool texinfo" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 bazaar-tools/receipt --- a/bazaar-tools/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/bazaar-tools/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="bazaar python" BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - http://bazaar.launchpad.net/~abentley/bzrtools/bzrtools.dev/changes 2>/dev/null | \ + sed '/elease-/!d;s|.*elease-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 bazaar/receipt --- a/bazaar/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/bazaar/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="glibc-base python zlib" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://launchpad.net/bzr/+download 2>/dev/null | \ + sed '/elease-/!d;s|.*="[a-z-]*||;s|".*||;s|-|.|g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 bc/receipt --- a/bc/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/bc/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="flex ncurses readline" BUILD_DEPENDS="ed flex readline-dev texinfo" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 beautifulsoup/receipt --- a/beautifulsoup/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/beautifulsoup/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + grep -A1 'current release' | sed '/^[0-9]/!d;s|<.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 beep/receipt --- a/beep/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/beep/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -10,6 +10,13 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://www.johnath.com/beep/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/latest version/!d;s|.* is v||;s|,.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 bin86/receipt --- a/bin86/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/bin86/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="glibc-base" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/lkundrak/dev86/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 bind/receipt --- a/bind/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/bind/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -19,6 +19,13 @@ CONFIG_FILES="/etc/bind" TAZPANEL_DAEMON="edit::/etc/bind/named.conf|man|options|web::$WEB_SITE" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + grep -B1 'Current-Stable' | sed 's|.*||;s|.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 bird/receipt --- a/bird/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/bird/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="ncurses readline" BUILD_DEPENDS="bison flex ncurses-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/New release/!d;s|.*New release ||;s|!.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 bison/receipt --- a/bison/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/bison/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -18,6 +18,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 blas/receipt --- a/blas/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/blas/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc-lib-base" BUILD_DEPENDS="gfortran" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/LAPACK, version/!d;s|.*version ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 bleachbit/receipt --- a/bleachbit/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/bleachbit/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="pygtk python" BUILD_DEPENDS="python" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.bleachbit.org/download/source 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 blktrace/receipt --- a/blktrace/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/blktrace/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libaio" BUILD_DEPENDS="libaio-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;/git/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 borgbackup/receipt --- a/borgbackup/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/borgbackup/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="py3k-dev py3k-cython openssl-dev py3k-setuptools_scm" SUGGESTED="fuse" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.borgbackup.org/releases/ 2>/dev/null | \ + sed '/current release/!d;s|.*release is ||;s|,.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 bozohttpd/receipt --- a/bozohttpd/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/bozohttpd/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="openssl" BUILD_DEPENDS="openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://www.eterna.com.au/bozohttpd/CHANGES 2>/dev/null | \ + sed '/changes in/!d;s|.*bozohttpd ||;s|:||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 buffer/receipt --- a/buffer/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/buffer/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -8,11 +8,18 @@ LICENSE="GPL2" WEB_SITE="http://www.mondorescue.org/" TARBALL="$PACKAGE-$VERSION.tgz" -WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL" +WGET_URL="http://ftp.mondorescue.org/src/$TARBALL" DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 buildroot/receipt --- a/buildroot/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/buildroot/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="bash bc bzip2 ncurses ncurses-dev ncursesw-extra patch \ perl python rsync slitaz-toolchain tar unzip wget pkg-config Qt4-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.buildroot.org/download.html 2>/dev/null | \ + sed '/buildroot-/!d;/tar.gz/!d;s|.*buildroot-||;s|.tar.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 c_icap/receipt --- a/c_icap/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/c_icap/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/c-icap/files/c-icap/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/c_icap-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 cbrpager/receipt --- a/cbrpager/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/cbrpager/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,14 @@ BUILD_DEPENDS="gettext libgnomeui-dev libgnome-dev libbonoboui-dev \ libgnomecanvas-dev libgnome-keyring-dev gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/cbrpager/files/cbrpager/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/cbrpager/cbrpager-||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 ccd2iso/receipt --- a/ccd2iso/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/ccd2iso/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="glibc-base" BUILD_DEPENDS="glibc-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ccd2iso/files/ccd2iso/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/ccd2iso/ccd2iso-||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 celestia/receipt --- a/celestia/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/celestia/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -17,6 +17,14 @@ jpeg-dev libglu-mesa libogg-dev libpng-dev libtheora-dev lua5.1-dev mesa-dev xorg-libXmu-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/celestia/files/Celestia-source/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/Celestia-source/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 cgoban/receipt --- a/cgoban/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/cgoban/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="gtk+" BUILD_DEPENDS="gtk+-dev xorg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/cgoban1/files/cgoban1/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/cgoban1/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 childsplay/receipt --- a/childsplay/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/childsplay/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libogg pygtk python python-pygame python-pysqlite python-sqlalchemy" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/schoolsplay/files 2>/dev/null | \ + sed '/scope="row/!d;/tgz/!d;s|.*/childsplay-||;s|.tgz.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 clucene/receipt --- a/clucene/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/clucene/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="cmake" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/clucene/files/clucene-core-unstable/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*core-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 coccinella/receipt --- a/coccinella/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/coccinella/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="tk" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/coccinella/files/coccinella/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/coccinella/||;s|/.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 codeblocks/receipt --- a/codeblocks/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/codeblocks/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -17,6 +17,14 @@ gcc49-lib-base gnome-icon-theme hunspell-dev libboost-dev libtool wxWidgets-dev xorg-libXau-dev xorg-libXdmcp-dev zip" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/codeblocks/files/Sources/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/Sources/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 comical/receipt --- a/comical/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/comical/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="wxWidgets28" BUILD_DEPENDS="wxWidgets28-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/comical/files/comical/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/comical/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 comix/receipt --- a/comix/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/comix/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="python pygtk python-pil rar" BUILD_DEPENDS="python pygtk-dev pygtk python-pil unrar" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/comix/files/comix/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/comix-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 conky/receipt --- a/conky/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/conky/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -20,6 +20,14 @@ xorg-damageproto xorg-fixesproto ncursesw-dev libxcb-dev wireless_tools-dev \ imlib2-dev lua-dev libtinfo" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/conky/files/conky/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/conky/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 cpu-g/receipt --- a/cpu-g/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/cpu-g/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="pygtk" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/cpug/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/cpu-g-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 cramfs/receipt --- a/cramfs/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/cramfs/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="zlib" BUILD_DEPENDS="zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/cramfs/files/cramfs/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/cramfs/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 cream/receipt --- a/cream/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/cream/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="gtk+ gcc-lib-base libwebkit libtasn1" BUILD_DEPENDS="libwebkit-dev libwebkit libsoup-dev gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/cream-browser/files/cream-browser/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/cream-browser/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 cssed/receipt --- a/cssed/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/cssed/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="gtk+" BUILD_DEPENDS="gtk+-dev libxml2-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/cssed/files/cssed/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/cssed/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 ctags/receipt --- a/ctags/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/ctags/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -12,6 +12,14 @@ BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ctags/files/ctags/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/ctags/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 ctorrent-dnh/receipt --- a/ctorrent-dnh/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/ctorrent-dnh/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -10,6 +10,14 @@ WEB_SITE="http://www.rahul.net/dholmes/ctorrent/" WGET_URL="$SF_MIRROR/dtorrent/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/dtorrent/files/dtorrent/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/dtorrent/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 fftw/receipt --- a/fftw/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/fftw/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,13 @@ # Rules to configure and make the package. +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/FFTW [0-9]/!d;s|^FFTW ||;s| is.*||;q' +} + compile_rules() { # build double precision diff -r b0897e8bc1a4 -r 9af0e03b8ad0 rubberband/receipt --- a/rubberband/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/rubberband/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,12 @@ BUILD_DEPENDS="fftw-dev gcc83 ladspa-dev libatomic libsamplerate-dev libsndfile-dev lv2 meson vamp-sdk-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | sed '/Library v/!d;s|.*v||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r b0897e8bc1a4 -r 9af0e03b8ad0 vamp-sdk/receipt --- a/vamp-sdk/receipt Sat Feb 05 15:15:36 2022 +0100 +++ b/vamp-sdk/receipt Sat Feb 05 16:12:08 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gcc83-lib-base libsndfile" BUILD_DEPENDS="gcc83 libsndfile-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/files 2>/dev/null | \ + sed "/[0-9].tar..z/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() {