updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kqemu-zen / PKGBUILD
blobde0f50d3b176debf139f1ec1a70cc19f60f1afd4
1 # Maintainer: ilikenwf/Matt Parnell <parwok@gmail.com>
3 pkgname=kqemu-zen
4 _kernver=`uname -r`
5 pkgver=1.3.0pre11
6 pkgrel=1
7 pkgdesc="QEMU Accelerator Module, which adds virtualization capabilities to qemu. For kernel26."
8 arch=(i686 x86_64)
9 license=('GPL' 'BSD')
10 url="http://fabrice.bellard.free.fr/qemu/"
11 depends=('kernel26zen' 'qemu>=0.9.0')
12 install=kqemu.install
13 source=(http://www.nongnu.org/qemu/kqemu-$pkgver.tar.gz)
14 md5sums=('970521874ef8b1ba4598925ace5936c3')
16 build()
18   cd $startdir/src/kqemu-$pkgver
19   
20   ./configure --kernel-path=/lib/modules/${_kernver}/build
21   make || return 1
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
24