wok diff mktorrent/receipt @ rev 24676
updated iptstate (2.2.6 -> 2.2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 08:53:57 2022 +0100 (2022-03-12) |
parents | 082c7fcce5a9 |
children | e1e1678c5265 |
line diff
1.1 --- a/mktorrent/receipt Mon Apr 29 16:45:09 2019 +0100 1.2 +++ b/mktorrent/receipt Sat Mar 12 08:53:57 2022 +0100 1.3 @@ -6,7 +6,7 @@ 1.4 SHORT_DESC="Command line utility to create BitTorrent metainfo files." 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 LICENSE="GPL2" 1.7 -WEB_SITE="https://github.com/Rudde/mktorrent/" 1.8 +WEB_SITE="https://github.com/Rudde/mktorrent" 1.9 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL" 1.12 @@ -16,6 +16,13 @@ 1.13 1.14 HOST_ARCH="i486 arm x86_64" 1.15 1.16 +# What is the latest version available today? 1.17 +current_version() 1.18 +{ 1.19 + wget -O - $WEB_SITE/tags 2>/dev/null | \ 1.20 + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' 1.21 +} 1.22 + 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 {