wok-current diff libnl/receipt @ rev 25097
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 18 20:27:19 2022 +0000 (2022-06-18) |
parents | 98cf458f5c62 |
children | 5926178cd6fa |
line diff
1.1 --- a/libnl/receipt Wed Mar 11 14:00:21 2020 +0100 1.2 +++ b/libnl/receipt Sat Jun 18 20:27:19 2022 +0000 1.3 @@ -18,6 +18,12 @@ 1.4 # Cross compile needs host flex 1.5 BUILD_DEPENDS="flex" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/libnl\(.*\).tar.*|\1|;s|_|.|g;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {