diff options
Diffstat (limited to 'testing/kvm/APKBUILD')
-rw-r--r-- | testing/kvm/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/kvm/APKBUILD b/testing/kvm/APKBUILD new file mode 100644 index 000000000..ccac7e5ed --- /dev/null +++ b/testing/kvm/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=kvm +pkgver=83 +pkgrel=0 +pkgdesc="kernel-based virtual machine" +url="http://kvm.qumranet.com" +license='GPL' +depends="uclibc" +makedepends="ncurses-dev" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + kvm-82-uclibc.patch + " +subpackages="" + +build() { + cd "$srcdir/$pkgname-$pkgver" + for i in ../*.patch; do + msg "Applying $i" + patch -p1 < $i || return 1; + done + + ./configure --prefix=/usr \ + --disable-gfx-check \ + --disable-sdl \ + --qemu-ldflags=-nopie + + make libkvm || return 1 + make qemu || return 1 + make DESTDIR="$pkgdir"/ kcmd="#" install +} + +md5sums="dfb3cc36029d84e83c5006c600337754 kvm-83.tar.gz +c439025cbfe89b35c2ae78aa481eb93f kvm-82-uclibc.patch" |