wok-current rev 24565
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 25 22:15:31 2022 +0000 (2022-02-25) |
parents | c11594098e34 |
children | b53e18d1978e |
files | blazekiss/receipt fatattr/receipt nimrod/receipt qarte/receipt ttysnoop/receipt wvdial/receipt xautomation/receipt xscreensaver/receipt |
line diff
1.1 --- a/blazekiss/receipt Fri Feb 25 18:06:36 2022 +0000 1.2 +++ b/blazekiss/receipt Fri Feb 25 22:15:31 2022 +0000 1.3 @@ -15,6 +15,13 @@ 1.4 DEPENDS="lighttpd php" 1.5 BUILD_DEPENDS="wget" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://github.com/krisxoofoo/blazekiss/commits/master 2>/dev/null | \ 1.11 + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {
2.1 --- a/fatattr/receipt Fri Feb 25 18:06:36 2022 +0000 2.2 +++ b/fatattr/receipt Fri Feb 25 22:15:31 2022 +0000 2.3 @@ -10,6 +10,13 @@ 2.4 WEB_SITE="https://www.kernel.org/" 2.5 WGET_URL="http://www.eu.kernel.org/pub/linux/utils/fs/fat/$PACKAGE/$TARBALL" 2.6 2.7 +# What is the latest version available today? 2.8 +current_version() 2.9 +{ 2.10 + wget -O - https://gitlab.com/Terseus/fatattr/-/commits/master 2>/dev/null | \ 2.11 + sed '/commits-row/!d;s|.*day="||;s|".*||;s|-||g;q' 2.12 +} 2.13 + 2.14 # Rules to configure and make the package. 2.15 compile_rules() 2.16 {
3.1 --- a/nimrod/receipt Fri Feb 25 18:06:36 2022 +0000 3.2 +++ b/nimrod/receipt Fri Feb 25 22:15:31 2022 +0000 3.3 @@ -13,6 +13,13 @@ 3.4 DEPENDS="gcc glibc-base readline" 3.5 BUILD_DEPENDS="gcc glibc-dev readline-dev" 3.6 3.7 +# What is the latest version available today? 3.8 +current_version() 3.9 +{ 3.10 + wget -O - https://nim-lang.org/install.html 2>/dev/null | \ 3.11 + sed '/source/!d;s|.*nim-||;s|.tar.*||;q' 3.12 +} 3.13 + 3.14 # Rules to configure and make the package. 3.15 compile_rules() 3.16 {
4.1 --- a/qarte/receipt Fri Feb 25 18:06:36 2022 +0000 4.2 +++ b/qarte/receipt Fri Feb 25 22:15:31 2022 +0000 4.3 @@ -13,6 +13,13 @@ 4.4 DEPENDS="python PyQt-x11-gpl notify-python rtmpdump" 4.5 BUILD_DEPENDS="" 4.6 4.7 +# What is the latest version available today? 4.8 +current_version() 4.9 +{ 4.10 + wget -O - http://oqapy.eu/download?lang=fr 2>/dev/null | \ 4.11 + sed '/qarte-/!d;s|.*qarte-||;s|.tar.*||;q' 4.12 +} 4.13 + 4.14 # Rules to configure and make the package. 4.15 compile_rules() 4.16 {
5.1 --- a/ttysnoop/receipt Fri Feb 25 18:06:36 2022 +0000 5.2 +++ b/ttysnoop/receipt Fri Feb 25 22:15:31 2022 +0000 5.3 @@ -10,6 +10,13 @@ 5.4 WEB_SITE="http://freecode.com/projects/ttysnoop" 5.5 WGET_URL="http://sysd.org/stas/files/active/0/$TARBALL" 5.6 5.7 +# What is the latest version available today? 5.8 +current_version() 5.9 +{ 5.10 + wget -O - https://github.com/iovisor/bcc/releases 2>/dev/null | \ 5.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).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/wvdial/receipt Fri Feb 25 18:06:36 2022 +0000 6.2 +++ b/wvdial/receipt Fri Feb 25 22:15:31 2022 +0000 6.3 @@ -14,6 +14,13 @@ 6.4 DEPENDS="ppp gcc-lib-base wvstreams" 6.5 BUILD_DEPENDS="wvstreams-dev" 6.6 6.7 +# What is the latest version available today? 6.8 +current_version() 6.9 +{ 6.10 + wget -O - https://en.wikipedia.org/wiki/WvDial 2>/dev/null | \ 6.11 + sed '/Stable release/!d;s|.*">||' 6.12 +} 6.13 + 6.14 # Rules to configure and make the package. 6.15 compile_rules() 6.16 {
7.1 --- a/xautomation/receipt Fri Feb 25 18:06:36 2022 +0000 7.2 +++ b/xautomation/receipt Fri Feb 25 22:15:31 2022 +0000 7.3 @@ -14,6 +14,13 @@ 7.4 DEPENDS="xorg-libX11 libpng" 7.5 BUILD_DEPENDS="xorg-libX11-dev libpng-dev" 7.6 7.7 +# What is the latest version available today? 7.8 +current_version() 7.9 +{ 7.10 + wget --no-check-certificate -O - https://www.hoopajoo.net/projects/xautomation.html 2>/dev/null | \ 7.11 + sed '/xautomation-/!d;s|.*xautomation-||;s|.tar.*||;q' 7.12 +} 7.13 + 7.14 # Rules to configure and make the package. 7.15 compile_rules() 7.16 {
8.1 --- a/xscreensaver/receipt Fri Feb 25 18:06:36 2022 +0000 8.2 +++ b/xscreensaver/receipt Fri Feb 25 22:15:31 2022 +0000 8.3 @@ -18,6 +18,13 @@ 8.4 xorg-libXpm-dev xorg-libXrandr-dev xorg-libXt-dev 8.5 xorg-libXxf86vm-dev" 8.6 8.7 +# What is the latest version available today? 8.8 +current_version() 8.9 +{ 8.10 + wget -O - https://en.wikipedia.org/wiki/XScreenSaver 2>/dev/null | \ 8.11 + sed '/Stable release/!d;s|.*">||' 8.12 +} 8.13 + 8.14 # Rules to configure and make the package. 8.15 compile_rules() 8.16 {