wok diff libnl/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 98cf458f5c62
children 5db546345599
line diff
     1.1 --- a/libnl/receipt	Wed Mar 11 14:00:21 2020 +0100
     1.2 +++ b/libnl/receipt	Sat May 21 21:38:29 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  {