wok diff kqemu/receipt @ rev 6931
Added make check to elfutils to see if fixes build problem.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 23 00:00:53 2010 +0000 (2010-10-23) |
parents | 9bac91257596 |
children | c063ba959397 |
line diff
1.1 --- a/kqemu/receipt Tue Feb 16 15:48:54 2010 +0000 1.2 +++ b/kqemu/receipt Sat Oct 23 00:00:53 2010 +0000 1.3 @@ -9,6 +9,7 @@ 1.4 WEB_SITE="http://www.nongnu.org/qemu/" 1.5 WGET_URL="${WEB_SITE}$TARBALL" 1.6 DEPENDS="linux" 1.7 +BUILD_DEPENDS="linux-module-headers" 1.8 SUGGESTED="qemu" 1.9 TAG="virtualization" 1.10 1.11 @@ -16,13 +17,12 @@ 1.12 compile_rules() 1.13 { 1.14 local dir 1.15 - if [ ! -d $WOK/linux/taz ]; then 1.16 - tazwok cook linux 1.17 - fi 1.18 - dir=$(cd $WOK/linux/taz/linux*/fs ; ls -d lib/modules/*)/misc 1.19 + KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.20 + 1.21 + dir=/lib/modules/${KERNEL_VERSION}-slitaz/misc 1.22 cd $src 1.23 ./configure --prefix=/usr \ 1.24 - --kernel-path=$(ls -d ../../linux/$(ls ../../linux/taz)) 1.25 + --kernel-path=/usr/src/linux 1.26 make 1.27 mkdir -p _pkg/$dir _pkg/dev 1.28 cp kqemu.ko _pkg/$dir