summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-10-08 13:44:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-10-08 13:44:32 +0000
commitae610d74b099ac47c74c42243dd21dc13c9c77dd (patch)
treed748977049799770f9afb4fcdbfd070a07ff25a4 /testing
parent6b0e51b0c38cccbd76245e384203af0a6754a931 (diff)
downloadaports-ae610d74b099ac47c74c42243dd21dc13c9c77dd.tar.bz2
aports-ae610d74b099ac47c74c42243dd21dc13c9c77dd.tar.xz
testing/kqemu-vserver: new aport
kqemu kernel module for vserver kernel
Diffstat (limited to 'testing')
-rw-r--r--testing/kqemu-vserver/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/kqemu-vserver/APKBUILD b/testing/kqemu-vserver/APKBUILD
new file mode 100644
index 000000000..eccb63bf4
--- /dev/null
+++ b/testing/kqemu-vserver/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+
+_flavor=vserver
+_realname=kqemu
+# source the kernel version
+if [ -f ../../testing/linux-$_flavor/APKBUILD ]; then
+ . ../../testing/linux-$_flavor/APKBUILD
+fi
+_kernelver=$pkgver-r$pkgrel
+_abi_release=$pkgver-${_flavor}
+
+pkgname=${_realname}-${_flavor}
+pkgver=1.4.0_pre1
+_realver=1.4.0pre1
+pkgrel=0
+pkgdesc="$_flavor kernel modules for kemu"
+url="http://www.nongnu.org/qemu/"
+license="GPL"
+depends="linux-${_flavor}=${_kernelver}"
+install=
+makedepends="linux-${_flavor}-dev=${_kernelver}"
+subpackages=
+source="http://www.nongnu.org/qemu/kqemu-$_realver.tar.gz"
+
+build() {
+ cd "$srcdir"/$_realname-$_realver
+ ./configure --kernel-path=/lib/modules/${_abi_release}/build
+ make || return 1
+ install -D -m644 kqemu.ko \
+ "$pkgdir"/lib/modules/${_abi_release}/misc/kqemu.ko \
+ || return 1
+}
+md5sums="d738d8ca7332211ab716ec3213d82ee1 kqemu-1.4.0pre1.tar.gz"