# HG changeset patch
# User Pascal Bellard <pascal.bellard@slitaz.org>
# Date 1644081085 0
# Node ID 318701ea94ca1ea779eda299d741a4fd315bdaa5
# Parent  9af0e03b8ad07342096d5ff1dd1d16d3cd2b8c77
avrdude: update bdeps

diff -r 9af0e03b8ad0 -r 318701ea94ca avrdude/receipt
--- a/avrdude/receipt	Sat Feb 05 16:12:08 2022 +0000
+++ b/avrdude/receipt	Sat Feb 05 17:11:25 2022 +0000
@@ -12,7 +12,7 @@
 
 DEPENDS="libftdi libusb-compat libusb readline elfutils"
 BUILD_DEPENDS="$DEPENDS libusb-compat-dev libusb-dev libftdi-dev elfutils-dev \
-file"
+readline-dev file"
 
 # What is the latest version available today?
 current_version()
diff -r 9af0e03b8ad0 -r 318701ea94ca xsnow/receipt
--- a/xsnow/receipt	Sat Feb 05 16:12:08 2022 +0000
+++ b/xsnow/receipt	Sat Feb 05 17:11:25 2022 +0000
@@ -13,6 +13,13 @@
 DEPENDS="xorg-libXpm xorg-libXext"
 BUILD_DEPENDS="xorg-imake xorg-gccmakedep"
 
+# What is the latest version available today?
+current_version()
+{
+	wget -O - $WEB_SITE 2>/dev/null | \
+	sed '/Get xsnow/!d;s|.*now-||;s|.tar.*||;q'
+}
+
 # Rules to configure and make the package.
 compile_rules()
 {
diff -r 9af0e03b8ad0 -r 318701ea94ca xtron/receipt
--- a/xtron/receipt	Sat Feb 05 16:12:08 2022 +0000
+++ b/xtron/receipt	Sat Feb 05 17:11:25 2022 +0000
@@ -7,12 +7,19 @@
 MAINTAINER="pascal.bellard@slitaz.org"
 LICENSE="GPL"
 TARBALL="$PACKAGE-$VERSION.tgz"
-WEB_SITE="ftp://ibiblio.org/pub/Linux/games/arcade/xtron-1.1a.lsm"
-WGET_URL="$(dirname $WEB_SITE)/$TARBALL"
+WEB_SITE="http://ibiblio.org/pub/Linux/games/arcade/xtron-$VERSION.lsm"
+WGET_URL="${WEB_SITE%/*}/$TARBALL"
 
 DEPENDS="xorg-libXpm xorg-libXau libxcb"
 BUILD_DEPENDS="xorg-dev"
 
+# 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 9af0e03b8ad0 -r 318701ea94ca xvidcore/receipt
--- a/xvidcore/receipt	Sat Feb 05 16:12:08 2022 +0000
+++ b/xvidcore/receipt	Sat Feb 05 17:11:25 2022 +0000
@@ -15,6 +15,13 @@
 
 HOST_ARCH="i486 arm"
 
+# What is the latest version available today?
+current_version()
+{
+	wget -O - ${WGET_URL%/*} 2>/dev/null | \
+	sed -e 's|br/>|\n|g;/xvidcore-/!d' | sed '/tar..z/!d;s|.*xvidcore-||;s|.tar.*||' | sort -Vr | sed q
+}
+
 # Rules to configure and make the package.
 compile_rules()
 {
diff -r 9af0e03b8ad0 -r 318701ea94ca xvkbd/receipt
--- a/xvkbd/receipt	Sat Feb 05 16:12:08 2022 +0000
+++ b/xvkbd/receipt	Sat Feb 05 17:11:25 2022 +0000
@@ -15,6 +15,13 @@
 BUILD_DEPENDS="xorg-imake xorg-libXaw-dev xorg-libXaw3d-dev xorg-libXp-dev 
 	xorg-libXtst-dev xorg-xproto"
 
+# What is the latest version available today?
+current_version()
+{
+	wget -O - http://t-sato.in.coocan.jp/xvkbd/ChangeLog 2>/dev/null | \
+	tac | sed '/^Version/!d;s|.*ion ||;s| .*||;q'
+}
+
 # Rules to configure and make the package.
 compile_rules()
 {
diff -r 9af0e03b8ad0 -r 318701ea94ca xwax/receipt
--- a/xwax/receipt	Sat Feb 05 16:12:08 2022 +0000
+++ b/xwax/receipt	Sat Feb 05 17:11:25 2022 +0000
@@ -14,6 +14,13 @@
 DEPENDS="alsa-lib libsdl libsdl-ttf"
 BUILD_DEPENDS="alsa-lib-dev libsdl-dev libsdl-ttf-dev"
 
+# What is the latest version available today?
+current_version()
+{
+	wget -O - $WEB_SITE 2>/dev/null | \
+	sed '/version/!d;s|.*version ||;s|<.*||;q'
+}
+
 # Rules to configure and make the package.
 compile_rules()
 {