diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-06 11:48:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-06 12:05:36 +0000 |
commit | 32f0a3c67282dbd23e9d607208bb8725cb638047 (patch) | |
tree | 34b09bc7911a4be228e5aa3103fd077d40b133b3 /testing | |
parent | 72486378da8ca5dcadb86a88dd0cc3a4f7807312 (diff) | |
download | aports-32f0a3c67282dbd23e9d607208bb8725cb638047.tar.bz2 aports-32f0a3c67282dbd23e9d607208bb8725cb638047.tar.xz |
testing/qemu: upgrade to 0.12.3
and put the misc arch's emulators in subpackages
Diffstat (limited to 'testing')
-rw-r--r-- | testing/qemu/APKBUILD | 54 |
1 files changed, 48 insertions, 6 deletions
diff --git a/testing/qemu/APKBUILD b/testing/qemu/APKBUILD index bfe0c629f1..7199ce9393 100644 --- a/testing/qemu/APKBUILD +++ b/testing/qemu/APKBUILD @@ -1,13 +1,31 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=qemu -pkgver=0.11.1 -pkgrel=1 +pkgver=0.12.3 +pkgrel=0 pkgdesc="QEMU is a generic machine emulator and virtualizer" url="http://www.nongnu.org/qemu/" license="GPL-2 LGPL-2" makedepends="zlib-dev sdl-dev alsa-lib-dev gnutls-dev ncurses-dev" depends= install="qemu.pre-install" +subpackages=" +$pkgname-arm +$pkgname-cris +$pkgname-m68k +$pkgname-microblaze +$pkgname-mips +$pkgname-mips64 +$pkgname-mips64el +$pkgname-mipsel +$pkgname-ppc +$pkgname-ppc64 +$pkgname-ppcemb +$pkgname-sh4 +$pkgname-sh4eb +$pkgname-sparc +$pkgname-sparc64 +$pkgname-x86_64 +" source="http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz kqemu.patch " @@ -23,7 +41,7 @@ prepare() { Makefile Makefile.target tests/Makefile sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \ Makefile.target - patch -p1 -i ../kqemu.patch || return 1 +# patch -p1 -i ../kqemu.patch || return 1 } build() { @@ -33,8 +51,8 @@ build() { --audio-card-list=ac97,sb16,es1370,adlib \ --disable-darwin-user \ --disable-bsd-user \ - --disable-nptl \ - --cc="$CC" + --disable-linux-user \ + --cc="${CC:-gcc}" make || return 1 } @@ -44,5 +62,29 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -md5sums="193285b0bcf655a7f7577d05ffcb82b1 qemu-0.11.1.tar.gz +_subsys() { + pkgdesc="Qemu $1 system emulator" + depend="qemu" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/qemu-system-$1 "$subpkgdir"/usr/bin/ +} + +arm() { _subsys arm; } +cris() { _subsys cris; } +m68k() { _subsys m68k; } +microblaze() { _subsys microblaze; } +mips() { _subsys mips; } +mips64() { _subsys mips64; } +mips64el() { _subsys mips64el; } +mipsel() { _subsys mipsel; } +ppc() { _subsys ppc; } +ppc64() { _subsys ppc64; } +ppcemb() { _subsys ppcemb; } +sh4() { _subsys sh4; } +sh4eb() { _subsys sh4eb; } +sparc() { _subsys sparc; } +sparc64() { _subsys sparc64; } +x86_64() { _subsys x86_64; } + +md5sums="d215e4568650e8019816397174c090e1 qemu-0.12.3.tar.gz f63f7412f016d8ccddabfd02ea28e748 kqemu.patch" |