wok rev 25769
libmaxminddb, ndpi: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 06 09:45:40 2024 +0000 (2 months ago) |
parents | 9925a548ba96 |
children | 6e7761d7363c |
files | libmaxminddb/receipt ndpi/receipt parole/receipt perl-test-tester/receipt |
line diff
1.1 --- a/libmaxminddb/receipt Tue Sep 03 15:27:18 2024 +0100 1.2 +++ b/libmaxminddb/receipt Fri Sep 06 09:45:40 2024 +0000 1.3 @@ -15,6 +15,13 @@ 1.4 DEPENDS="curl" 1.5 BUILD_DEPENDS="curl-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 1.11 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {
2.1 --- a/ndpi/receipt Tue Sep 03 15:27:18 2024 +0100 2.2 +++ b/ndpi/receipt Fri Sep 06 09:45:40 2024 +0000 2.3 @@ -16,6 +16,13 @@ 2.4 DEPENDS="libjson-c libpcap" 2.5 BUILD_DEPENDS="autoconf automake libjson-c-dev libpcap-dev libtool" 2.6 2.7 +# What is the latest version available today? 2.8 +current_version() 2.9 +{ 2.10 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 2.11 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 2.12 +} 2.13 + 2.14 # Rules to configure and make the package. 2.15 compile_rules() 2.16 {
3.1 --- a/parole/receipt Tue Sep 03 15:27:18 2024 +0100 3.2 +++ b/parole/receipt Fri Sep 06 09:45:40 2024 +0000 3.3 @@ -9,7 +9,7 @@ 3.4 WEB_SITE="https://docs.xfce.org/apps/parole/start" 3.5 3.6 TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.7 -WGET_URL="http://archive.xfce.org/src/apps/parole/${VERSION%.*}/$TARBALL" 3.8 +WGET_URL="https://archive.xfce.org/src/apps/parole/${VERSION%.*}/$TARBALL" 3.9 3.10 SUGGESTED="parole-lang" 3.11 DEPENDS="dbus-glib gst-plugins-base gstreamer libgio libnotify libxfce4util
4.1 --- a/perl-test-tester/receipt Tue Sep 03 15:27:18 2024 +0100 4.2 +++ b/perl-test-tester/receipt Fri Sep 06 09:45:40 2024 +0000 4.3 @@ -7,7 +7,7 @@ 4.4 MAINTAINER="slaxemulator@gmail.com" 4.5 LICENSE="GPL" 4.6 SOURCE="Test-Tester" 4.7 -WEB_SITE="https://metacpan.org/dist/FDALY/$SOURCE-$VERSION" 4.8 +WEB_SITE="https://search.cpan.org/dist/Test-Tester" 4.9 TARBALL="$SOURCE-$VERSION.tar.gz" 4.10 WGET_URL="https://cpan.metacpan.org/authors/id/F/FD/FDALY/$TARBALL" 4.11