wok diff lzip/receipt @ rev 24383
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 06 11:51:57 2022 +0000 (2022-02-06) |
parents | 4baf58c71390 |
children | 1c75fb23b954 |
line diff
1.1 --- a/lzip/receipt Sun Apr 07 18:18:45 2019 +0200 1.2 +++ b/lzip/receipt Sun Feb 06 11:51:57 2022 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 1.5 DEPENDS="gcc-lib-base" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.10 + sed '/>lzip-/!d;s|.*lzip-||;s|.tar.*||' | sed '$!d' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {