1 # Maintainer: ilikenwf/Matt Parnell <parwok@gmail.com>
7 pkgdesc="QEMU Accelerator Module, which adds virtualization capabilities to qemu. For kernel26."
10 url="http://fabrice.bellard.free.fr/qemu/"
11 depends=('kernel26zen' 'qemu>=0.9.0')
13 source=(http://www.nongnu.org/qemu/kqemu-$pkgver.tar.gz)
14 md5sums=('970521874ef8b1ba4598925ace5936c3')
18 cd $startdir/src/kqemu-$pkgver
20 ./configure --kernel-path=/lib/modules/${_kernver}/build
22 install -D -m644 kqemu.ko $startdir/pkg/lib/modules/${_kernver}/misc/kqemu.ko || return 1
23 sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/kqemu.install