wok diff phpsysinfo/receipt @ rev 24994
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 15 20:25:22 2022 +0000 (2022-05-15) |
parents | a5ee74db1fee |
children | 7d834c8a352e |
line diff
1.1 --- a/phpsysinfo/receipt Mon Jul 13 21:34:44 2020 +0000 1.2 +++ b/phpsysinfo/receipt Sun May 15 20:25:22 2022 +0000 1.3 @@ -18,6 +18,12 @@ 1.4 1.5 HOST_ARCH="any" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {