wok diff zip/receipt @ rev 24336
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 28 18:19:21 2022 +0000 (2022-01-28) |
parents | 56ee356284c6 |
children | 7dd01dedad38 |
line diff
1.1 --- a/zip/receipt Sat May 23 18:02:24 2020 +0000 1.2 +++ b/zip/receipt Fri Jan 28 18:19:21 2022 +0000 1.3 @@ -11,6 +11,12 @@ 1.4 WGET_URL="ftp://ftp.info-zip.org/pub/infozip/src/$TARBALL" 1.5 TAGS="archive compression" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $WEB_SITE/Zip.html 2>/dev/null | \ 1.10 + sed '/released/!d;s|.*Zip ||;s|<.*||;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {