wok diff opus/receipt @ rev 22926
Up jp2a (1.0.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 26 12:40:52 2020 +0100 (2020-02-26) |
parents | f7a13af08fc7 |
children | 56ee356284c6 |
line diff
1.1 --- a/opus/receipt Sat Jul 06 16:10:54 2019 +0200 1.2 +++ b/opus/receipt Wed Feb 26 12:40:52 2020 +0100 1.3 @@ -13,6 +13,12 @@ 1.4 DEPENDS="" 1.5 BUILD_DEPENDS="" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $WEB_SITE 2>/dev/null | \ 1.10 + sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {