diff options
Diffstat (limited to 'testing/kqemu-grsec/APKBUILD')
-rw-r--r-- | testing/kqemu-grsec/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/testing/kqemu-grsec/APKBUILD b/testing/kqemu-grsec/APKBUILD index b9527fa87..b02b8c27e 100644 --- a/testing/kqemu-grsec/APKBUILD +++ b/testing/kqemu-grsec/APKBUILD @@ -10,10 +10,10 @@ _kernelver=$pkgver-r$pkgrel _abi_release=$pkgver-${_flavor} pkgname=${_realname}-${_flavor} -pkgver=1.4.0_pre1 +pkgver=$pkgver _realver=1.4.0pre1 -pkgrel=10 -pkgdesc="$_flavor kernel modules for kemu" +pkgrel=0 +pkgdesc="$_flavor kernel modules for kemu $_realver" url="http://www.nongnu.org/qemu/" license="GPL" depends="linux-${_flavor}=${_kernelver}" @@ -22,10 +22,19 @@ makedepends="linux-${_flavor}-dev=${_kernelver}" subpackages= source="http://www.nongnu.org/qemu/kqemu-$_realver.tar.gz" +# override kernel APKBUILD's prepare +prepare() { + : +} + build() { cd "$srcdir"/$_realname-$_realver ./configure --kernel-path=/lib/modules/${_abi_release}/build make || return 1 +} + +package() { + cd "$srcdir"/$_realname-$_realver install -D -m644 kqemu.ko \ "$pkgdir"/lib/modules/${_abi_release}/misc/kqemu.ko \ || return 1 |