wok-current diff dummynet/receipt @ rev 15185
linux-source: add mirror src fallback
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 23 18:59:48 2013 +0000 (2013-08-23) |
parents | 31a6c59885ff |
children | eb8067417980 |
line diff
1.1 --- a/dummynet/receipt Sat Sep 29 09:53:53 2012 +0000 1.2 +++ b/dummynet/receipt Fri Aug 23 18:59:48 2013 +0000 1.3 @@ -14,8 +14,8 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - kvers=$(cd /lib/modules ; ls -d *-slitaz) 1.8 - kvers=${kvers%-slitaz} 1.9 + installed=/var/lib/tazpkg/installed 1.10 + kvers=$(. $installed/linux-module-headers/receipt ; echo $VERSION) 1.11 sed -i "s/WARN := -O1 -Wall -Werror/WARN := -O1 -Wall/" kipfw/Makefile 1.12 sed -i "s/uname -r/echo $kvers-slitaz/" Makefile.inc 1.13 make