wok diff rgzip/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (20 months ago) |
parents | f13bd223c231 |
children | 1e09c4c56491 |
line diff
1.1 --- a/rgzip/receipt Sat Dec 07 14:51:10 2013 +0000 1.2 +++ b/rgzip/receipt Thu Mar 09 18:12:54 2023 +0000 1.3 @@ -12,6 +12,13 @@ 1.4 DEPENDS="busybox" # gzip 1.5 TAGS="compression" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE 2>/dev/null | \ 1.11 + sed '/[0-9], [12][0-9]/!d;s|.*|"&"|' | 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 {