wok-6.x diff memtest/receipt @ rev 24071
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 10:35:01 2021 +0000 (2021-07-07) |
parents | 8d938c826a9b |
children | 66a052ff61b1 |
line diff
1.1 --- a/memtest/receipt Fri May 07 14:52:36 2021 +0000 1.2 +++ b/memtest/receipt Wed Jul 07 10:35:01 2021 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 1.5 BUILD_DEPENDS="xz" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $WEB_SITE 2>/dev/null | \ 1.10 + sed '/tar.gz"/!d;s|.*memtest86.-||;s|.tar.*||;q' 1.11 +} 1.12 + 1.13 tune_lzma() 1.14 { 1.15 cp $stuff/*.S $stuff/pack .