# HG changeset patch # User Christopher Rogers # Date 1287615833 0 # Node ID 9562c8df32fa4185f3634565a932778b857e9bcb # Parent 6b1cdf8e9c54cca4918d45944fbc11985574cd82 Added linux-module-headers to kqemu build depends. diff -r 6b1cdf8e9c54 -r 9562c8df32fa kqemu/receipt --- a/kqemu/receipt Wed Oct 20 22:53:02 2010 +0000 +++ b/kqemu/receipt Wed Oct 20 23:03:53 2010 +0000 @@ -9,6 +9,7 @@ WEB_SITE="http://www.nongnu.org/qemu/" WGET_URL="${WEB_SITE}$TARBALL" DEPENDS="linux" +BUILD_DEPENDS="linux-module-headers" SUGGESTED="qemu" TAG="virtualization" @@ -16,13 +17,12 @@ compile_rules() { local dir - if [ ! -d $WOK/linux/taz ]; then - tazwok cook linux - fi - dir=$(cd $WOK/linux/taz/linux*/fs ; ls -d lib/modules/*)/misc + KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` + + dir=/lib/modules/${KERNEL_VERSION}-slitaz/misc cd $src ./configure --prefix=/usr \ - --kernel-path=$(ls -d ../../linux/$(ls ../../linux/taz)) + --kernel-path=/usr/src/linux make mkdir -p _pkg/$dir _pkg/dev cp kqemu.ko _pkg/$dir