summaryrefslogtreecommitdiffstats
path: root/base/kqemu/Pkgfile
blob: bec5554a2570e0ac62003bbcadce11884035c68b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Description: module pour Emulateur libre qemu
# URL: http://www.qemu.org/
# Maintainer: NuTyX coreteam
# Packager: guy

name=kqemu
version=1.4.0pre1
release=1
source=(http://wiki.qemu.org/download/$name-$version.tar.gz\
	http://nutyx.meticul.eu/files/patchs/$name/kqemu-1.4-kernel-26.37-1.patch)

build() {
	cd $name-$version
	patch -Np1 -i ../kqemu-1.4-kernel-26.37-1.patch
	./configure
	make
    mkdir -p $PKG/lib/modules/`uname -r`/misc
    cp kqemu.ko $PKG/lib/modules/`uname -r`/misc
}