wok-6.x diff activeresource/receipt @ rev 25560
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 25 18:09:10 2023 +0000 (19 months ago) |
parents | 63fa34c8d2fa |
children |
line diff
1.1 --- a/activeresource/receipt Sat Sep 25 17:38:40 2021 +0100 1.2 +++ b/activeresource/receipt Tue Apr 25 18:09:10 2023 +0000 1.3 @@ -16,6 +16,12 @@ 1.4 1.5 COOK_OPT="!repack_src !unpack" 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 | sed '/versions\//!d;s|.*versions/||;s|".*||;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {