wok diff hp15c/receipt @ rev 24491
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 18 22:59:06 2022 +0000 (2022-02-18) |
parents | 19ad77dc1d71 |
children | 6b3ebe448683 |
line diff
1.1 --- a/hp15c/receipt Fri May 04 00:21:41 2018 +0200 1.2 +++ b/hp15c/receipt Fri Feb 18 22:59:06 2022 +0000 1.3 @@ -14,6 +14,13 @@ 1.4 DEPENDS="tk tcl" 1.5 BUILD_DEPENDS="wget" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - http://hp-15c.homepage.t-online.de/download.htm 2>/dev/null | \ 1.11 + sed '/version is/!d;s|.*<strong>||;s|,.*||;q' 1.12 +} 1.13 + 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 {