wok-6.x diff kmod/receipt @ rev 24068
linld: add cpu detection (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 05 18:07:57 2021 +0000 (2021-07-05) |
parents | 13daef3b4658 |
children | 7e911016a644 |
line diff
1.1 --- a/kmod/receipt Fri Jan 20 16:40:06 2017 +0100 1.2 +++ b/kmod/receipt Mon Jul 05 18:07:57 2021 +0000 1.3 @@ -20,6 +20,12 @@ 1.4 arm) BUILD_DEPENDS="wget zlib-dev liblzma-dev" ;; 1.5 esac 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $WEB_SITE 2>/dev/null | \ 1.10 + sed '/tar.xz/!d;s|.*>kmod-||;s|.tar.*||' X | sort -n -r | sed q 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {