wok diff qps/receipt @ rev 25583
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 31 16:56:53 2023 +0000 (17 months ago) |
parents | 6135577f4d08 |
children | 0262035dc1e7 |
line diff
1.1 --- a/qps/receipt Sat Jan 26 12:26:47 2019 +0100 1.2 +++ b/qps/receipt Wed May 31 16:56:53 2023 +0000 1.3 @@ -13,6 +13,13 @@ 1.4 DEPENDS="libQtGui libQtDBus libQtXml" 1.5 BUILD_DEPENDS="Qt4-dev qmake" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE/releases 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {