wok-current diff libnl/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | 98cf458f5c62 |
children |
line diff
1.1 --- a/libnl/receipt Wed Mar 11 14:00:21 2020 +0100 1.2 +++ b/libnl/receipt Wed May 18 20:10:17 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 {