updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / kqemu-ice / PKGBUILD~
blobd85a6ca146c265bcfca4a05ff8ee3c7d96615465
1 # Maintainer: Giuseppe Calderaro <giuseppecalderaro@gmail.com>
3 pkgname=kqemu-ice
4 _kernver=2.6.29-ice
5 pkgver=1.4.0pre1
6 pkgrel=1
7 pkgdesc="QEMU Accelerator Module, which adds virtualization capabilities to qemu. For kernel26-ice."
8 arch=('i686' 'x86_64')
9 license=('GPL' 'BSD')
10 url="http://fabrice.bellard.free.fr/qemu/"
11 depends=('kernel26-ice>=2.6.28' 'qemu>=0.9.0')
12 install=kqemu.install
13 source=(http://www.nongnu.org/qemu/kqemu-$pkgver.tar.gz LICENSE)
15 md5sums=('d738d8ca7332211ab716ec3213d82ee1'
16          'ff53106a9b480cf2e43b189920e56c3e')
18 build()
20   cd $startdir/src/kqemu-$pkgver
21   
22   ./configure --kernel-path=/lib/modules/${_kernver}/build
23   make || return 1
24   install -D -m644 kqemu.ko $startdir/pkg/lib/modules/${_kernver}/misc/kqemu.ko || return 1
25   sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/kqemu.install