wok-current rev 24066
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 05 15:00:07 2021 +0000 (2021-07-05) |
parents | 3260e959c015 |
children | 06547d8cf241 |
files | 915resolution/receipt acl/receipt alsa-lib/receipt alsa-plugins/receipt alsa-tools/receipt alsa-utils/receipt alsaplayer/receipt ardour/receipt asunder/receipt atk/receipt atkmm/receipt attr/receipt beaver/receipt buildbot/receipt bzip2/receipt cairo/receipt cairomm/receipt cdparanoia-III/receipt cookutils/receipt grub2-efi-x64/receipt grub2-efi/receipt linux-aufs/receipt opus-tools/receipt opus/receipt opusfile/receipt weechat/receipt |
line diff
1.1 --- a/915resolution/receipt Sun Jun 20 14:41:40 2021 +0100 1.2 +++ b/915resolution/receipt Mon Jul 05 15:00:07 2021 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 1.5 DEPENDS="" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WEB_SITE}download.html 2>/dev/null | \ 1.10 + sed '/href/!d;s|.*>\(.*\)<.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {
2.1 --- a/acl/receipt Sun Jun 20 14:41:40 2021 +0100 2.2 +++ b/acl/receipt Mon Jul 05 15:00:07 2021 +0000 2.3 @@ -19,6 +19,12 @@ 2.4 arm) BUILD_DEPENDS="attr-dev" ;; 2.5 esac 2.6 2.7 +current_version() 2.8 +{ 2.9 + wget -O - http://download.savannah.nongnu.org/releases/acl/ 2>/dev/null | \ 2.10 + sed '/href="acl/!d;s|.*acl-\([0-9\.]*\)\..*|\1|' | sed '$!d' 2.11 +} 2.12 + 2.13 # Rules to configure and make the package. 2.14 compile_rules() 2.15 {
3.1 --- a/alsa-lib/receipt Sun Jun 20 14:41:40 2021 +0100 3.2 +++ b/alsa-lib/receipt Mon Jul 05 15:00:07 2021 +0000 3.3 @@ -13,6 +13,12 @@ 3.4 3.5 DEPENDS="linux" 3.6 3.7 +current_version() 3.8 +{ 3.9 + wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \ 3.10 + sed '/alsa-lib-/!d;s|.*alsa-lib-||;s|.tar.*||;q' 3.11 +} 3.12 + 3.13 # Rules to configure and make the package. 3.14 compile_rules() 3.15 {
4.1 --- a/alsa-plugins/receipt Sun Jun 20 14:41:40 2021 +0100 4.2 +++ b/alsa-plugins/receipt Mon Jul 05 15:00:07 2021 +0000 4.3 @@ -13,6 +13,12 @@ 4.4 DEPENDS="alsa-lib libsamplerate speex" 4.5 BUILD_DEPENDS="pkg-config alsa-lib-dev libsamplerate-dev speex-dev" 4.6 4.7 +current_version() 4.8 +{ 4.9 + wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \ 4.10 + sed '/alsa-plugins-/!d;s|.*alsa-plugins-||;s|.tar.*||;q' 4.11 +} 4.12 + 4.13 # Rules to configure and make the package. 4.14 compile_rules() 4.15 {
5.1 --- a/alsa-tools/receipt Sun Jun 20 14:41:40 2021 +0100 5.2 +++ b/alsa-tools/receipt Mon Jul 05 15:00:07 2021 +0000 5.3 @@ -21,6 +21,12 @@ 5.4 us428control usx2yloader vxloader echomixer qlo10k1 \ 5.5 hwmixvolume hdajackretask hda-verb hdajacksensetest" # ld10k1 5.6 5.7 +current_version() 5.8 +{ 5.9 + wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \ 5.10 + sed '/alsa-tools-/!d;s|.*alsa-tools-||;s|.tar.*||;q' 5.11 +} 5.12 + 5.13 # Rules to configure and make the package. 5.14 compile_rules() 5.15 {
6.1 --- a/alsa-utils/receipt Sun Jun 20 14:41:40 2021 +0100 6.2 +++ b/alsa-utils/receipt Mon Jul 05 15:00:07 2021 +0000 6.3 @@ -15,6 +15,12 @@ 6.4 DEPENDS="alsa-lib ncurses util-linux-getopt" 6.5 BUILD_DEPENDS="alsa-lib-dev ncurses-dev" 6.6 6.7 +current_version() 6.8 +{ 6.9 + wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \ 6.10 + sed '/alsa-utils-/!d;s|.*alsa-utils-||;s|.tar.*||;q' 6.11 +} 6.12 + 6.13 # Rules to configure and make the package. 6.14 compile_rules() 6.15 {
7.1 --- a/alsaplayer/receipt Sun Jun 20 14:41:40 2021 +0100 7.2 +++ b/alsaplayer/receipt Mon Jul 05 15:00:07 2021 +0000 7.3 @@ -21,6 +21,12 @@ 7.4 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;; 7.5 esac 7.6 7.7 +current_version() 7.8 +{ 7.9 + wget -O - ${WEB_SITE}download.php 2>/dev/null | \ 7.10 + sed '/alsaplayer-/!d;s|.*alsaplayer-||;s|.tar.*||;q' 7.11 +} 7.12 + 7.13 # Rules to configure and make the package. 7.14 compile_rules() 7.15 {
8.1 --- a/ardour/receipt Sun Jun 20 14:41:40 2021 +0100 8.2 +++ b/ardour/receipt Mon Jul 05 15:00:07 2021 +0000 8.3 @@ -29,6 +29,13 @@ 8.4 # Rules to configure and make the package. 8.5 compile_rules() 8.6 { 8.7 + [ -s libs/ardour/svn_revision.cc ] || 8.8 + cat > libs/ardour/svn_revision.cc <<EOT 8.9 +#include "ardour/svn_revision.h" 8.10 +namespace ARDOUR { 8.11 + extern const char* svn_revision = "$VERSION"; 8.12 +} 8.13 +EOT 8.14 # glibmm >=2.31 fix 8.15 grep -lr signal_timeout * | xargs sed -i '1i#include <glibmm/main.h>' 8.16
9.1 --- a/asunder/receipt Sun Jun 20 14:41:40 2021 +0100 9.2 +++ b/asunder/receipt Mon Jul 05 15:00:07 2021 +0000 9.3 @@ -21,6 +21,12 @@ 9.4 GENERIC_PIXMAPS="no" 9.5 COOKOPTS="!pixmaps" 9.6 9.7 +current_version() 9.8 +{ 9.9 + wget -O - ${WEB_SITE}downloads.php 2>/dev/null | \ 9.10 + sed '/asunder-/!d;s|.*asunder-||;s|.tar.*||;q' 9.11 +} 9.12 + 9.13 # Rules to configure and make the package. 9.14 compile_rules() 9.15 {
10.1 --- a/atk/receipt Sun Jun 20 14:41:40 2021 +0100 10.2 +++ b/atk/receipt Mon Jul 05 15:00:07 2021 +0000 10.3 @@ -22,6 +22,12 @@ 10.4 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;; 10.5 esac 10.6 10.7 +current_version() 10.8 +{ 10.9 + wget -O - https://gitlab.gnome.org/GNOME/atk/-/tags 2>/dev/null | \ 10.10 + sed '/ATK_/!d;s|.*/ATK_\(.*\)".*|\1|;s|_|.|g;q' 10.11 +} 10.12 + 10.13 # Rules to configure and make the package. 10.14 compile_rules() 10.15 {
11.1 --- a/atkmm/receipt Sun Jun 20 14:41:40 2021 +0100 11.2 +++ b/atkmm/receipt Mon Jul 05 15:00:07 2021 +0000 11.3 @@ -13,6 +13,12 @@ 11.4 11.5 DEPENDS="atk libsigc++" 11.6 11.7 +current_version() 11.8 +{ 11.9 + wget -O - https://gitlab.gnome.org/GNOME/atkmm/-/tags 2>/dev/null | \ 11.10 + sed '/tar.gz/!d;s|.*/atkmm-\(.*\).tar.gz".*|\1|;q' 11.11 +} 11.12 + 11.13 # Rules to configure and make the package. 11.14 compile_rules() 11.15 {
12.1 --- a/attr/receipt Sun Jun 20 14:41:40 2021 +0100 12.2 +++ b/attr/receipt Mon Jul 05 15:00:07 2021 +0000 12.3 @@ -20,6 +20,12 @@ 12.4 arm) BUILD_DEPENDS="" ;; 12.5 esac 12.6 12.7 +current_version() 12.8 +{ 12.9 + wget -O - http://download.savannah.nongnu.org/releases/attr/ 2>/dev/null | \ 12.10 + sed '/href="attr/!d;s|.*attr-\([0-9\.]*\)\..*|\1|' | sed '$!d' 12.11 +} 12.12 + 12.13 # Rules to configure and make the package. 12.14 compile_rules() 12.15 {
13.1 --- a/beaver/receipt Sun Jun 20 14:41:40 2021 +0100 13.2 +++ b/beaver/receipt Mon Jul 05 15:00:07 2021 +0000 13.3 @@ -17,6 +17,12 @@ 13.4 BUILD_DEPENDS="gtk+-dev xorg-xproto expat-dev" 13.5 SPLIT="beaver-plugins" 13.6 13.7 +current_version() 13.8 +{ 13.9 + wget -O - ${WEB_SITE}download.html 2>/dev/null | \ 13.10 + sed '/tar/!d;s|.*beaver-||;s|.tar.*||;q' 13.11 +} 13.12 + 13.13 # Rules to configure and make the package. 13.14 compile_rules() 13.15 {
14.1 --- a/buildbot/receipt Sun Jun 20 14:41:40 2021 +0100 14.2 +++ b/buildbot/receipt Mon Jul 05 15:00:07 2021 +0000 14.3 @@ -18,7 +18,7 @@ 14.4 current_version() 14.5 { 14.6 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 14.7 - sed '/archive.*tar/!d;s|.*/buildbot-v\(.*\).gitarchive.*|\1|;q' 14.8 + sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 14.9 } 14.10 14.11 # Rules to configure and make the package.
15.1 --- a/bzip2/receipt Sun Jun 20 14:41:40 2021 +0100 15.2 +++ b/bzip2/receipt Mon Jul 05 15:00:07 2021 +0000 15.3 @@ -17,6 +17,12 @@ 15.4 15.5 HOST_ARCH="i486 arm" 15.6 15.7 +current_version() 15.8 +{ 15.9 + wget -O - ${WEB_SITE}downloads.html 2>/dev/null | \ 15.10 + sed '/current/!d;s|.* ||;s|.".*||;q' 15.11 +} 15.12 + 15.13 # Rules to configure and make the package. 15.14 compile_rules() 15.15 {
16.1 --- a/cairo/receipt Sun Jun 20 14:41:40 2021 +0100 16.2 +++ b/cairo/receipt Mon Jul 05 15:00:07 2021 +0000 16.3 @@ -26,6 +26,12 @@ 16.4 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; 16.5 esac 16.6 16.7 +current_version() 16.8 +{ 16.9 + wget -O - https://www.cairographics.org/releases/ 2>/dev/null | \ 16.10 + sed '/cairo-/!d;s|.*cairo-||;s|.tar.*||' | sed '$!d' 16.11 +} 16.12 + 16.13 # Rules to configure and make the package. 16.14 compile_rules() 16.15 {
17.1 --- a/cairomm/receipt Sun Jun 20 14:41:40 2021 +0100 17.2 +++ b/cairomm/receipt Mon Jul 05 15:00:07 2021 +0000 17.3 @@ -13,6 +13,12 @@ 17.4 DEPENDS="pixman cairo libsigc++ xcb-util" 17.5 BUILD_DEPENDS="pixman-dev cairo-dev libsigc++-dev xcb-util-dev libxml2-dev" 17.6 17.7 +current_version() 17.8 +{ 17.9 + wget -O - https://www.cairographics.org/releases/ 2>/dev/null | \ 17.10 + sed '/cairomm-/!d;s|.*cairomm-||;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/cdparanoia-III/receipt Sun Jun 20 14:41:40 2021 +0100 18.2 +++ b/cdparanoia-III/receipt Mon Jul 05 15:00:07 2021 +0000 18.3 @@ -10,6 +10,12 @@ 18.4 TARBALL="$PACKAGE-$VERSION.src.tgz" 18.5 WGET_URL="https://downloads.xiph.org/releases/cdparanoia/$TARBALL" 18.6 18.7 +current_version() 18.8 +{ 18.9 + wget -O - https://ftp.osuosl.org/pub/xiph/releases/cdparanoia/ 2>/dev/null | \ 18.10 + sed '/LATEST_IS/!d;s|.*LATEST_IS_||;s|<.*||;q' 18.11 +} 18.12 + 18.13 # Rules to configure and make the package. 18.14 compile_rules() 18.15 {
19.1 --- a/cookutils/receipt Sun Jun 20 14:41:40 2021 +0100 19.2 +++ b/cookutils/receipt Mon Jul 05 15:00:07 2021 +0000 19.3 @@ -16,6 +16,13 @@ 19.4 DEPENDS="sdft" 19.5 SPLIT="cookutils-daemon" 19.6 19.7 +current_version() 19.8 +{ 19.9 + wget -O - http://hg.slitaz.org/cookutils/ 2>/dev/null | \ 19.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/cookutils/rev/|;s|<.*||' | \ 19.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 19.12 +} 19.13 + 19.14 # Rules to configure and make the package. 19.15 compile_rules() 19.16 {
20.1 --- a/grub2-efi-x64/receipt Sun Jun 20 14:41:40 2021 +0100 20.2 +++ b/grub2-efi-x64/receipt Mon Jul 05 15:00:07 2021 +0000 20.3 @@ -17,6 +17,8 @@ 20.4 libusb-compat-dev libusb-dev ncurses-dev 20.5 uclibc-cross-compiler-x86_64 xz-dev zlib-dev" 20.6 20.7 +CONFIG_FILES="/etc/default/grub /etc/grub.d/40_custom" 20.8 + 20.9 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" 20.10 20.11 # Rules to configure and make the package.
21.1 --- a/grub2-efi/receipt Sun Jun 20 14:41:40 2021 +0100 21.2 +++ b/grub2-efi/receipt Mon Jul 05 15:00:07 2021 +0000 21.3 @@ -16,6 +16,8 @@ 21.4 BUILD_DEPENDS="bison flex freetype-dev fuse-dev libdevmapper-dev 21.5 libusb-compat-dev libusb-dev ncurses-dev xz-dev zlib-dev" 21.6 21.7 +CONFIG_FILES="/etc/default/grub /etc/grub.d/40_custom" 21.8 + 21.9 # Rules to configure and make the package. 21.10 compile_rules() 21.11 {
22.1 --- a/linux-aufs/receipt Sun Jun 20 14:41:40 2021 +0100 22.2 +++ b/linux-aufs/receipt Mon Jul 05 15:00:07 2021 +0000 22.3 @@ -15,6 +15,13 @@ 22.4 DEPENDS="linux" 22.5 BUILD_DEPENDS="linux-module-headers git xz" 22.6 22.7 +current_version() 22.8 +{ 22.9 + wget -O - https://sourceforge.net/p/aufs/aufs3-standalone/ci/${BRANCH#*linux-}/tree/ 2> /dev/null | \ 22.10 + sed '/History/!d;s|.*href="|https://sourceforge.net|;s|".*||' | xargs wget -O - 2> /dev/null | \ 22.11 + sed '/markdown_content/!d;s|</p>||;s|.* ||;q' 22.12 +} 22.13 + 22.14 # Rules to configure and make the package. 22.15 compile_rules() 22.16 {
23.1 --- a/opus-tools/receipt Sun Jun 20 14:41:40 2021 +0100 23.2 +++ b/opus-tools/receipt Mon Jul 05 15:00:07 2021 +0000 23.3 @@ -14,6 +14,12 @@ 23.4 BUILD_DEPENDS="libogg libogg-dev opus-dev pkg-config flac-dev \ 23.5 opusfile-dev libopusenc-dev" 23.6 23.7 +current_version() 23.8 +{ 23.9 + wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ 23.10 + sed '/opus-tools/!d;/tar/!d;s|.*/opus-tools-||;s|.tar.*||;q' 23.11 +} 23.12 + 23.13 # Rules to configure and make the package. 23.14 compile_rules() 23.15 {
24.1 --- a/opus/receipt Sun Jun 20 14:41:40 2021 +0100 24.2 +++ b/opus/receipt Mon Jul 05 15:00:07 2021 +0000 24.3 @@ -13,6 +13,12 @@ 24.4 DEPENDS="" 24.5 BUILD_DEPENDS="" 24.6 24.7 +current_version() 24.8 +{ 24.9 + wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ 24.10 + sed '/Opus/!d;/tar/!d;s|.*/opus-||;s|.tar.*||;q' 24.11 +} 24.12 + 24.13 # Rules to configure and make the package. 24.14 compile_rules() 24.15 {
25.1 --- a/opusfile/receipt Sun Jun 20 14:41:40 2021 +0100 25.2 +++ b/opusfile/receipt Mon Jul 05 15:00:07 2021 +0000 25.3 @@ -13,6 +13,12 @@ 25.4 DEPENDS="libssl libogg opus" 25.5 BUILD_DEPENDS="openssl-dev libogg libogg-dev opus-dev pkg-config" 25.6 25.7 +current_version() 25.8 +{ 25.9 + wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ 25.10 + sed '/opusfile/!d;/tar/!d;s|.*/opusfile-||;s|.tar.*||;q' 25.11 +} 25.12 + 25.13 # Rules to configure and make the package. 25.14 compile_rules() 25.15 {
26.1 --- a/weechat/receipt Sun Jun 20 14:41:40 2021 +0100 26.2 +++ b/weechat/receipt Mon Jul 05 15:00:07 2021 +0000 26.3 @@ -12,9 +12,9 @@ 26.4 TARBALL="$PACKAGE-$VERSION.tar.xz" 26.5 WGET_URL="${WEB_SITE}files/src/$TARBALL" 26.6 26.7 -DEPENDS="libgcrypt libgnutls libtasn1 ncursesw perl python" 26.8 +DEPENDS="libgcrypt libgnutls libtasn1 ncursesw perl py3k" 26.9 BUILD_DEPENDS="cmake curl-dev gmp-dev gnutls-dev guile-dev \ 26.10 - libgcrypt-dev libtool ncursesw-dev perl pkg-config python" 26.11 + libgcrypt-dev libtool ncursesw-dev perl pkg-config py3k-dev" 26.12 26.13 # Rules to configure and make the package. 26.14 compile_rules()