wok-6.x rev 24069
Add some current_version()
line diff
1.1 --- a/backintime/receipt Mon Jul 05 18:07:57 2021 +0000 1.2 +++ b/backintime/receipt Tue Jul 06 11:01:20 2021 +0000 1.3 @@ -18,7 +18,7 @@ 1.4 current_version() 1.5 { 1.6 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 1.7 - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.8 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.9 } 1.10 1.11 # Rules to configure and make the package.
2.1 --- a/codec2/receipt Mon Jul 05 18:07:57 2021 +0000 2.2 +++ b/codec2/receipt Tue Jul 06 11:01:20 2021 +0000 2.3 @@ -15,7 +15,7 @@ 2.4 current_version() 2.5 { 2.6 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 2.7 - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 2.8 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 2.9 } 2.10 2.11 # Rules to configure and make the package.
3.1 --- a/cookutils/receipt Mon Jul 05 18:07:57 2021 +0000 3.2 +++ b/cookutils/receipt Tue Jul 06 11:01:20 2021 +0000 3.3 @@ -18,8 +18,8 @@ 3.4 3.5 current_version() 3.6 { 3.7 - wget -O - http://hg.slitaz.org/cookutils/ 2>/dev/null | \ 3.8 - sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/cookutils/rev/|;s|<.*||' | \ 3.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 3.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 3.11 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 3.12 } 3.13
4.1 --- a/dbus/receipt Mon Jul 05 18:07:57 2021 +0000 4.2 +++ b/dbus/receipt Tue Jul 06 11:01:20 2021 +0000 4.3 @@ -17,6 +17,13 @@ 4.4 4.5 HOST_ARCH="i486 arm" 4.6 4.7 +current_version() 4.8 +{ 4.9 + local branch=$(wget -O - $WEB_SITE 2>/dev/null | sed '/>stable</!d;s|.*dbus-||;s|/NEWS.*||') 4.10 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 4.11 + sed "/dbus-$branch/!d;s|.*dbus-||;s|.tar.*||" | sed '$!d' 4.12 +} 4.13 + 4.14 # Rules to configure and make the package. 4.15 compile_rules() 4.16 {
5.1 --- a/desktop-file-utils/receipt Mon Jul 05 18:07:57 2021 +0000 5.2 +++ b/desktop-file-utils/receipt Tue Jul 06 11:01:20 2021 +0000 5.3 @@ -16,6 +16,12 @@ 5.4 5.5 SPLIT="desktop-file-utils-extra" 5.6 5.7 +current_version() 5.8 +{ 5.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 5.10 + sed '/utils-/!d;s|.*utils-||;s|.tar.*||' | sed '$!d' 5.11 +} 5.12 + 5.13 # Rules to configure and make the package. 5.14 compile_rules() 5.15 {
6.1 --- a/dialog/receipt Mon Jul 05 18:07:57 2021 +0000 6.2 +++ b/dialog/receipt Tue Jul 06 11:01:20 2021 +0000 6.3 @@ -16,6 +16,12 @@ 6.4 6.5 HOST_ARCH="i486 arm" 6.6 6.7 +current_version() 6.8 +{ 6.9 + wget -O - ftp://ftp.invisible-island.net/dialog/ 2>/dev/null | \ 6.10 + sed '/gz"/!d;s|.*dialog-||;s|.tgz.*||' | sed '$!d' 6.11 +} 6.12 + 6.13 # Rules to configure and make the package. 6.14 compile_rules() 6.15 {
7.1 --- a/elfutils/receipt Mon Jul 05 18:07:57 2021 +0000 7.2 +++ b/elfutils/receipt Tue Jul 06 11:01:20 2021 +0000 7.3 @@ -19,6 +19,12 @@ 7.4 arm) BUILD_DEPENDS="bzip2-dev xz-dev" ;; 7.5 esac 7.6 7.7 +current_version() 7.8 +{ 7.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 7.10 + sed '/tar/!d;s|.*utils-||;s|.tar.*||' | sed '$!d' 7.11 +} 7.12 + 7.13 # Rules to configure and make the package. 7.14 compile_rules() 7.15 {
8.1 --- a/enchant/receipt Mon Jul 05 18:07:57 2021 +0000 8.2 +++ b/enchant/receipt Tue Jul 06 11:01:20 2021 +0000 8.3 @@ -16,6 +16,12 @@ 8.4 DEPENDS="dbus dbus-glib glib gcc-lib-base" 8.5 BUILD_DEPENDS="pkg-config glib glib-dev aspell-dev" 8.6 8.7 +current_version() 8.8 +{ 8.9 + wget -O - $WEB_SITE 2>/dev/null | \ 8.10 + sed '/released/!d;s|.*Enchant ||;s| released.*||;q' 8.11 +} 8.12 + 8.13 # Rules to configure and make the package. 8.14 compile_rules() 8.15 {
9.1 --- a/epdfview/receipt Mon Jul 05 18:07:57 2021 +0000 9.2 +++ b/epdfview/receipt Tue Jul 06 11:01:20 2021 +0000 9.3 @@ -15,6 +15,12 @@ 9.4 DEPENDS="gtk+ poppler glib libpng xorg-libXdamage gcc-lib-base" 9.5 BUILD_DEPENDS="gtk+-dev poppler-dev poppler cairo-dev" 9.6 9.7 +current_version() 9.8 +{ 9.9 + wget -O - $WEB_SITE/releases 2>/dev/null | \ 9.10 + sed '/archive.*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/expat/receipt Mon Jul 05 18:07:57 2021 +0000 10.2 +++ b/expat/receipt Tue Jul 06 11:01:20 2021 +0000 10.3 @@ -13,6 +13,12 @@ 10.4 10.5 HOST_ARCH="i486 arm" 10.6 10.7 +current_version() 10.8 +{ 10.9 + wget -O - $WEB_SITE 2>/dev/null | \ 10.10 + sed '/Changes">/!d;s|.*Expat ||;s|</a.*||;s|</*strong>||g;q' 10.11 +} 10.12 + 10.13 # Rules to configure and make the package. 10.14 compile_rules() 10.15 {
11.1 --- a/flac/receipt Mon Jul 05 18:07:57 2021 +0000 11.2 +++ b/flac/receipt Tue Jul 06 11:01:20 2021 +0000 11.3 @@ -17,6 +17,12 @@ 11.4 11.5 HOST_ARCH="i486 arm" 11.6 11.7 +current_version() 11.8 +{ 11.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 11.10 + sed '/flac-/!d;/tar/!d;s|.*"flac-||;s|.tar.*||' | sed '$!d' 11.11 +} 11.12 + 11.13 # Rules to configure and make the package. 11.14 compile_rules() 11.15 {
12.1 --- a/fontconfig/receipt Mon Jul 05 18:07:57 2021 +0000 12.2 +++ b/fontconfig/receipt Tue Jul 06 11:01:20 2021 +0000 12.3 @@ -14,6 +14,12 @@ 12.4 DEPENDS="bzlib expat freetype libxml2" 12.5 BUILD_DEPENDS="libxml2-dev freetype-dev liblzma-dev util-linux-uuid-dev gperf" 12.6 12.7 +current_version() 12.8 +{ 12.9 + wget -O - $WEB_SITE 2>/dev/null | \ 12.10 + sed '/stable/!d;s|.* is ||;s|. .*||' 12.11 +} 12.12 + 12.13 # Rules to configure and make the package. 12.14 compile_rules() 12.15 {
13.1 --- a/freetype/receipt Mon Jul 05 18:07:57 2021 +0000 13.2 +++ b/freetype/receipt Tue Jul 06 11:01:20 2021 +0000 13.3 @@ -16,6 +16,12 @@ 13.4 13.5 HOST_ARCH="i486 arm" 13.6 13.7 +current_version() 13.8 +{ 13.9 + wget -O - $WEB_SITE 2>/dev/null | \ 13.10 + sed '/h.>FreeType [0-9]/!d;s|.*pe ||;s|<.*||;q' 13.11 +} 13.12 + 13.13 # Rules to configure and make the package. 13.14 compile_rules() 13.15 {
14.1 --- a/gcolor2/receipt Mon Jul 05 18:07:57 2021 +0000 14.2 +++ b/gcolor2/receipt Tue Jul 06 11:01:20 2021 +0000 14.3 @@ -15,6 +15,12 @@ 14.4 SUGGESTED="xorg-rgb" 14.5 BUILD_DEPENDS="gtk+-dev file" 14.6 14.7 +current_version() 14.8 +{ 14.9 + wget -O - $WEB_SITE 2>/dev/null | \ 14.10 + sed '/Latest/!d;s|.* is ||;s|<.*||' 14.11 +} 14.12 + 14.13 # Rules to configure and make the package. 14.14 compile_rules() 14.15 {
15.1 --- a/gparted/receipt Mon Jul 05 18:07:57 2021 +0000 15.2 +++ b/gparted/receipt Tue Jul 06 11:01:20 2021 +0000 15.3 @@ -20,6 +20,12 @@ 15.4 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev \ 15.5 cairomm-dev pangomm-dev libgiomm-dev intltool util-linux-uuid-dev" 15.6 15.7 +current_version() 15.8 +{ 15.9 + wget -O - $WEB_SITE 2>/dev/null | \ 15.10 + sed '/gparted.gparted-/!d;s|.*gparted-||;s|/.*||;q' 15.11 +} 15.12 + 15.13 # Rules to configure and make the package. 15.14 compile_rules() 15.15 {
16.1 --- a/kmod/receipt Mon Jul 05 18:07:57 2021 +0000 16.2 +++ b/kmod/receipt Tue Jul 06 11:01:20 2021 +0000 16.3 @@ -23,7 +23,7 @@ 16.4 current_version() 16.5 { 16.6 wget -O - $WEB_SITE 2>/dev/null | \ 16.7 - sed '/tar.xz/!d;s|.*>kmod-||;s|.tar.*||' X | sort -n -r | sed q 16.8 + sed '/tar.xz/!d;s|.*>kmod-||;s|.tar.*||' | sort -n -r | sed q 16.9 } 16.10 16.11 # Rules to configure and make the package.
17.1 --- a/parted/receipt Mon Jul 05 18:07:57 2021 +0000 17.2 +++ b/parted/receipt Tue Jul 06 11:01:20 2021 +0000 17.3 @@ -17,6 +17,12 @@ 17.4 hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs reiser4progs \ 17.5 reiserfsprogs xfsprogs" 17.6 17.7 +current_version() 17.8 +{ 17.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 17.10 + sed '/parted-/!d;s|.*parted-||;s|.tar.*||' | sed '$!d' 17.11 +} 17.12 + 17.13 # Rules to configure and make the package. 17.14 compile_rules() 17.15 {
18.1 --- a/slitaz-arm-adm/receipt Mon Jul 05 18:07:57 2021 +0000 18.2 +++ b/slitaz-arm-adm/receipt Tue Jul 06 11:01:20 2021 +0000 18.3 @@ -13,6 +13,13 @@ 18.4 18.5 DEPENDS="busybox slitaz-base-files" 18.6 18.7 +current_version() 18.8 +{ 18.9 + wget -O - http://hg.slitaz.org/slitaz-arm/ 2>/dev/null | \ 18.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-arm/rev/|;s|<.*||' | \ 18.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 18.12 +} 18.13 + 18.14 # Rules to gen a SliTaz package suitable for Tazpkg. 18.15 genpkg_rules() 18.16 {
19.1 --- a/slitaz-arm-codex/receipt Mon Jul 05 18:07:57 2021 +0000 19.2 +++ b/slitaz-arm-codex/receipt Tue Jul 06 11:01:20 2021 +0000 19.3 @@ -11,6 +11,13 @@ 19.4 WGET_URL="http://hg.slitaz.org/slitaz-forge/archive/$VERSION.tar.bz2" 19.5 HOST_ARCH="i486 arm" 19.6 19.7 +current_version() 19.8 +{ 19.9 + wget -O - http://hg.slitaz.org/slitaz-forge/ 2>/dev/null | \ 19.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-forge/rev/|;s|<.*||' | \ 19.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 19.12 +} 19.13 + 19.14 # Rules to gen a SliTaz package suitable for Tazpkg. 19.15 genpkg_rules() 19.16 {
20.1 --- a/slitaz-arm-configs/receipt Mon Jul 05 18:07:57 2021 +0000 20.2 +++ b/slitaz-arm-configs/receipt Tue Jul 06 11:01:20 2021 +0000 20.3 @@ -14,6 +14,13 @@ 20.4 20.5 DEPENDS="slitaz-configs-base" 20.6 20.7 +current_version() 20.8 +{ 20.9 + wget -O - http://hg.slitaz.org/slitaz-arm/ 2>/dev/null | \ 20.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-arm/rev/|;s|<.*||' | \ 20.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 20.12 +} 20.13 + 20.14 # Rules to gen a SliTaz package suitable for Tazpkg. 20.15 genpkg_rules() 20.16 {
21.1 --- a/slitaz-arm-rpi/receipt Mon Jul 05 18:07:57 2021 +0000 21.2 +++ b/slitaz-arm-rpi/receipt Tue Jul 06 11:01:20 2021 +0000 21.3 @@ -21,6 +21,13 @@ 21.4 /etc/fstab \ 21.5 /etc/modprobe.d/rpi-blacklist.conf" 21.6 21.7 +current_version() 21.8 +{ 21.9 + wget -O - http://hg.slitaz.org/slitaz-arm/ 2>/dev/null | \ 21.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-arm/rev/|;s|<.*||' | \ 21.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 21.12 +} 21.13 + 21.14 # Rules to gen a SliTaz package suitable for Tazpkg. 21.15 genpkg_rules() 21.16 {
22.1 --- a/slitaz-base-files/receipt Mon Jul 05 18:07:57 2021 +0000 22.2 +++ b/slitaz-base-files/receipt Tue Jul 06 11:01:20 2021 +0000 22.3 @@ -38,6 +38,13 @@ 22.4 /etc/gshadow \ 22.5 /etc/shadow" 22.6 22.7 +current_version() 22.8 +{ 22.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 22.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 22.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 22.12 +} 22.13 + 22.14 # Rules to configure and make the package. 22.15 compile_rules() 22.16 {
23.1 --- a/slitaz-boot-scripts/receipt Mon Jul 05 18:07:57 2021 +0000 23.2 +++ b/slitaz-boot-scripts/receipt Tue Jul 06 11:01:20 2021 +0000 23.3 @@ -20,6 +20,13 @@ 23.4 # Needed to fetch the keymaps and test the filesystem. 23.5 DEPENDS="kbd-base e2fsprogs busybox slitaz-tools" 23.6 23.7 +current_version() 23.8 +{ 23.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 23.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 23.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 23.12 +} 23.13 + 23.14 # Rules to gen a SliTaz package suitable for Tazpkg. 23.15 # 23.16 # This package is all build by genpkg, it provide the boot scripts found
24.1 --- a/slitaz-configs-base/receipt Mon Jul 05 18:07:57 2021 +0000 24.2 +++ b/slitaz-configs-base/receipt Tue Jul 06 11:01:20 2021 +0000 24.3 @@ -20,6 +20,13 @@ 24.4 arm*) DEPENDS="" ;; 24.5 esac 24.6 24.7 +current_version() 24.8 +{ 24.9 + wget -O - http://hg.slitaz.org/slitaz-configs/ 2>/dev/null | \ 24.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-configs/rev/|;s|<.*||' | \ 24.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 24.12 +} 24.13 + 24.14 # Rules to gen a SliTaz package suitable for Tazpkg. 24.15 genpkg_rules() 24.16 {
25.1 --- a/slitaz-configs/receipt Mon Jul 05 18:07:57 2021 +0000 25.2 +++ b/slitaz-configs/receipt Tue Jul 06 11:01:20 2021 +0000 25.3 @@ -28,6 +28,13 @@ 25.4 locale-ru locale-zh_CN" ;; 25.5 esac 25.6 25.7 +current_version() 25.8 +{ 25.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 25.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 25.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 25.12 +} 25.13 + 25.14 # Rules to configure and make the package. 25.15 compile_rules() 25.16 {
26.1 --- a/slitaz-dev-tools/receipt Mon Jul 05 18:07:57 2021 +0000 26.2 +++ b/slitaz-dev-tools/receipt Tue Jul 06 11:01:20 2021 +0000 26.3 @@ -10,6 +10,13 @@ 26.4 WEB_SITE="http://www.slitaz.org/" 26.5 #HOST_ARCH="i486 arm" 26.6 26.7 +current_version() 26.8 +{ 26.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 26.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 26.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 26.12 +} 26.13 + 26.14 # Rules to gen a SliTaz package suitable for Tazpkg. 26.15 genpkg_rules() 26.16 {
27.1 --- a/slitaz-doc/receipt Mon Jul 05 18:07:57 2021 +0000 27.2 +++ b/slitaz-doc/receipt Tue Jul 06 11:01:20 2021 +0000 27.3 @@ -10,6 +10,13 @@ 27.4 WEB_SITE="http://www.slitaz.org/" 27.5 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz" 27.6 27.7 +current_version() 27.8 +{ 27.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 27.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 27.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 27.12 +} 27.13 + 27.14 # Rules to gen a SliTaz package suitable for Tazpkg. 27.15 genpkg_rules() 27.16 {
28.1 --- a/slitaz-mercurial-style/receipt Mon Jul 05 18:07:57 2021 +0000 28.2 +++ b/slitaz-mercurial-style/receipt Tue Jul 06 11:01:20 2021 +0000 28.3 @@ -13,6 +13,13 @@ 28.4 28.5 DEPENDS="mercurial" 28.6 28.7 +current_version() 28.8 +{ 28.9 + wget -O - http://hg.slitaz.org/slitaz-dev-tools/ 2>/dev/null | \ 28.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-dev-tools/rev/|;s|<.*||' | \ 28.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 28.12 +} 28.13 + 28.14 # Rules to gen a SliTaz package suitable for Tazpkg. 28.15 genpkg_rules() 28.16 {
29.1 --- a/slitaz-tools-boxes/receipt Mon Jul 05 18:07:57 2021 +0000 29.2 +++ b/slitaz-tools-boxes/receipt Tue Jul 06 11:01:20 2021 +0000 29.3 @@ -18,6 +18,13 @@ 29.4 BUILD_DEPENDS="tzdata" 29.5 SIBLINGS="slitaz-tools tazdrop" 29.6 29.7 +current_version() 29.8 +{ 29.9 + wget -O - http://hg.slitaz.org/slitaz-tools/ 2>/dev/null | \ 29.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-tools/rev/|;s|<.*||' | \ 29.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 29.12 +} 29.13 + 29.14 # Rules to configure and make the package. 29.15 compile_rules() 29.16 {
30.1 --- a/slitaz-tools/receipt Mon Jul 05 18:07:57 2021 +0000 30.2 +++ b/slitaz-tools/receipt Tue Jul 06 11:01:20 2021 +0000 30.3 @@ -23,6 +23,13 @@ 30.4 /etc/locale.conf 30.5 /etc/slitaz/firewall.conf" 30.6 30.7 +current_version() 30.8 +{ 30.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 30.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 30.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 30.12 +} 30.13 + 30.14 # Rules to configure and make the package. 30.15 compile_rules() 30.16 {
31.1 --- a/tazbug/receipt Mon Jul 05 18:07:57 2021 +0000 31.2 +++ b/tazbug/receipt Tue Jul 06 11:01:20 2021 +0000 31.3 @@ -15,6 +15,13 @@ 31.4 BUILD_DEPENDS="gettext" 31.5 SIBLINGS="tazbug-website" 31.6 31.7 +current_version() 31.8 +{ 31.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 31.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 31.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 31.12 +} 31.13 + 31.14 # Rules to configure and make the package. 31.15 compile_rules() 31.16 {
32.1 --- a/tazdev/receipt Mon Jul 05 18:07:57 2021 +0000 32.2 +++ b/tazdev/receipt Tue Jul 06 11:01:20 2021 +0000 32.3 @@ -14,6 +14,13 @@ 32.4 32.5 DEPENDS="rsync" 32.6 32.7 +current_version() 32.8 +{ 32.9 + wget -O - http://hg.slitaz.org/slitaz-dev-tools/ 2>/dev/null | \ 32.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-dev-tools/rev/|;s|<.*||' | \ 32.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 32.12 +} 32.13 + 32.14 # Rules to gen a SliTaz package suitable for Tazpkg. 32.15 genpkg_rules() 32.16 {
33.1 --- a/tazdrop/receipt Mon Jul 05 18:07:57 2021 +0000 33.2 +++ b/tazdrop/receipt Tue Jul 06 11:01:20 2021 +0000 33.3 @@ -14,6 +14,13 @@ 33.4 DEPENDS="gtk+ yad" 33.5 SIBLINGS="slitaz-tools slitaz-tools-boxes" 33.6 33.7 +current_version() 33.8 +{ 33.9 + wget -O - http://hg.slitaz.org/slitaz-tools/ 2>/dev/null | \ 33.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-tools/rev/|;s|<.*||' | \ 33.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 33.12 +} 33.13 + 33.14 # Rules to configure and make the package. 33.15 compile_rules() 33.16 {
34.1 --- a/tazinst/receipt Mon Jul 05 18:07:57 2021 +0000 34.2 +++ b/tazinst/receipt Tue Jul 06 11:01:20 2021 +0000 34.3 @@ -16,6 +16,13 @@ 34.4 SUGGESTED="tazpanel" 34.5 SIBLINGS="tazinst-gui" 34.6 34.7 +current_version() 34.8 +{ 34.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 34.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 34.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 34.12 +} 34.13 + 34.14 # Rules to configure and make the package. 34.15 compile_rules() 34.16 {
35.1 --- a/tazirc/receipt Mon Jul 05 18:07:57 2021 +0000 35.2 +++ b/tazirc/receipt Tue Jul 06 11:01:20 2021 +0000 35.3 @@ -11,6 +11,13 @@ 35.4 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.bz2" 35.5 HOST_ARCH="i486 arm" 35.6 35.7 +current_version() 35.8 +{ 35.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 35.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 35.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 35.12 +} 35.13 + 35.14 # Rules to configure and make the package. 35.15 compile_rules() 35.16 {
36.1 --- a/tazlito/receipt Mon Jul 05 18:07:57 2021 +0000 36.2 +++ b/tazlito/receipt Tue Jul 06 11:01:20 2021 +0000 36.3 @@ -16,6 +16,13 @@ 36.4 SUGGESTED="tazpanel" 36.5 BUILD_DEPENDS="gettext" 36.6 36.7 +current_version() 36.8 +{ 36.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 36.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 36.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 36.12 +} 36.13 + 36.14 # Rules to configure and make the package. 36.15 compile_rules() 36.16 {
37.1 --- a/tazpanel-extra/receipt Mon Jul 05 18:07:57 2021 +0000 37.2 +++ b/tazpanel-extra/receipt Tue Jul 06 11:01:20 2021 +0000 37.3 @@ -14,6 +14,13 @@ 37.4 DEPENDS="tazpanel" 37.5 SIBLINGS="tazpanel" 37.6 37.7 +current_version() 37.8 +{ 37.9 + wget -O - http://hg.slitaz.org/tazpanel/ 2>/dev/null | \ 37.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/tazpanel/rev/|;s|<.*||' | \ 37.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 37.12 +} 37.13 + 37.14 # Rules to configure and make the package. 37.15 compile_rules() 37.16 {
38.1 --- a/tazpanel/receipt Mon Jul 05 18:07:57 2021 +0000 38.2 +++ b/tazpanel/receipt Tue Jul 06 11:01:20 2021 +0000 38.3 @@ -18,6 +18,13 @@ 38.4 SIBLINGS="tazpanel-extra" 38.5 HOST_ARCH="i486 arm" 38.6 38.7 +current_version() 38.8 +{ 38.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 38.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 38.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 38.12 +} 38.13 + 38.14 # Rules to configure and make the package. 38.15 compile_rules() 38.16 {
39.1 --- a/tazpkg/receipt Mon Jul 05 18:07:57 2021 +0000 39.2 +++ b/tazpkg/receipt Tue Jul 06 11:01:20 2021 +0000 39.3 @@ -21,6 +21,13 @@ 39.4 arm) BUILD_DEPENDS="" ;; 39.5 esac 39.6 39.7 +current_version() 39.8 +{ 39.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 39.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 39.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 39.12 +} 39.13 + 39.14 # Rules to gen a SliTaz package suitable for TazPkg. 39.15 # 39.16 # TazPkg is SliTaz packages manager. On an other GNU/Linux install
40.1 --- a/tazusb/receipt Mon Jul 05 18:07:57 2021 +0000 40.2 +++ b/tazusb/receipt Tue Jul 06 11:01:20 2021 +0000 40.3 @@ -13,6 +13,13 @@ 40.4 40.5 DEPENDS="lzma" 40.6 40.7 +current_version() 40.8 +{ 40.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 40.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 40.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 40.12 +} 40.13 + 40.14 # Rules to configure and make the package. 40.15 compile_rules() 40.16 {
41.1 --- a/tazweb/receipt Mon Jul 05 18:07:57 2021 +0000 41.2 +++ b/tazweb/receipt Tue Jul 06 11:01:20 2021 +0000 41.3 @@ -16,6 +16,13 @@ 41.4 BUILD_DEPENDS="glib-dev gtk+-dev libsoup-dev libwebkit-dev libxslt-dev" 41.5 HOST_ARCH="i486 arm" 41.6 41.7 +current_version() 41.8 +{ 41.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 41.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 41.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 41.12 +} 41.13 + 41.14 # Rules to configure and make the package. 41.15 compile_rules() 41.16 {
42.1 --- a/tazwikiss/receipt Mon Jul 05 18:07:57 2021 +0000 42.2 +++ b/tazwikiss/receipt Tue Jul 06 11:01:20 2021 +0000 42.3 @@ -14,6 +14,13 @@ 42.4 /var/www/wiki/config-fr.sh" 42.5 HOST_ARCH="any" 42.6 42.7 +current_version() 42.8 +{ 42.9 + wget -O - http://hg.slitaz.org/slitaz-dev-tools/ 2>/dev/null | \ 42.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-dev-tools/rev/|;s|<.*||' | \ 42.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 42.12 +} 42.13 + 42.14 # Rules to configure and make the package. 42.15 compile_rules() 42.16 {
43.1 --- a/tazwok/receipt Mon Jul 05 18:07:57 2021 +0000 43.2 +++ b/tazwok/receipt Tue Jul 06 11:01:20 2021 +0000 43.3 @@ -13,6 +13,13 @@ 43.4 43.5 DEPENDS="busybox slitaz-base-files" 43.6 43.7 +current_version() 43.8 +{ 43.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 43.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 43.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 43.12 +} 43.13 + 43.14 # Rules to gen a SliTaz package suitable for Tazpkg. 43.15 genpkg_rules() 43.16 {
44.1 --- a/xterm/receipt Mon Jul 05 18:07:57 2021 +0000 44.2 +++ b/xterm/receipt Tue Jul 06 11:01:20 2021 +0000 44.3 @@ -21,6 +21,12 @@ 44.4 44.5 HOST_ARCH="i486 arm" 44.6 44.7 +current_version() 44.8 +{ 44.9 + wget -O - ${WEB_SITE}xterm.log.html 2>/dev/null | \ 44.10 + gunzip | sed '/Patch/!d;s|.*xterm_||;s|".*||;q' 44.11 +} 44.12 + 44.13 # Rules to configure and make the package. 44.14 compile_rules() 44.15 {
45.1 --- a/zlib/receipt Mon Jul 05 18:07:57 2021 +0000 45.2 +++ b/zlib/receipt Tue Jul 06 11:01:20 2021 +0000 45.3 @@ -15,6 +15,12 @@ 45.4 DEPENDS="glibc-base" 45.5 BUILD_DEPENDS="" 45.6 45.7 +current_version() 45.8 +{ 45.9 + wget -O - $WEB_SITE 2>/dev/null | \ 45.10 + sed '/FONT SIZE/!d;s|.*zlib ||;s|<.*||;q' 45.11 +} 45.12 + 45.13 # Rules to configure and make the package. 45.14 compile_rules() 45.15 {