diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2004-11-26 20:44:27 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2004-11-26 20:44:27 +0000 |
commit | 0b259b91cc5e33c2c1c9360b624adf14d435606b (patch) | |
tree | 9ff8a1ea7dd3610d9d0545130462cfcf17705c4e /app-emulation | |
parent | Fixed ChangeLog header. (Manifest recommit) (diff) | |
download | gentoo-2-0b259b91cc5e33c2c1c9360b624adf14d435606b.tar.gz gentoo-2-0b259b91cc5e33c2c1c9360b624adf14d435606b.tar.bz2 gentoo-2-0b259b91cc5e33c2c1c9360b624adf14d435606b.zip |
Cleanup
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/qemu/ChangeLog | 8 | ||||
-rw-r--r-- | app-emulation/qemu/files/digest-qemu-0.5.1 | 1 | ||||
-rw-r--r-- | app-emulation/qemu/files/digest-qemu-0.5.2 | 1 | ||||
-rw-r--r-- | app-emulation/qemu/files/digest-qemu-0.5.3 | 1 | ||||
-rw-r--r-- | app-emulation/qemu/files/digest-qemu-0.5.4 | 1 | ||||
-rw-r--r-- | app-emulation/qemu/files/digest-qemu-0.5.5 | 1 | ||||
-rw-r--r-- | app-emulation/qemu/files/digest-qemu-0.5.5-r1 | 1 | ||||
-rw-r--r-- | app-emulation/qemu/files/qemu-0.5.4-jocelyn-mayer-ppc.patch | 160 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-0.5.1.ebuild | 50 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-0.5.2.ebuild | 50 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-0.5.3.ebuild | 42 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-0.5.4.ebuild | 50 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-0.5.5-r1.ebuild | 58 | ||||
-rw-r--r-- | app-emulation/qemu/qemu-0.5.5.ebuild | 57 |
14 files changed, 7 insertions, 474 deletions
diff --git a/app-emulation/qemu/ChangeLog b/app-emulation/qemu/ChangeLog index 87b252c82e31..130af89a8da8 100644 --- a/app-emulation/qemu/ChangeLog +++ b/app-emulation/qemu/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emulation/qemu # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/ChangeLog,v 1.22 2004/11/17 18:44:35 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/ChangeLog,v 1.23 2004/11/26 20:44:27 lu_zero Exp $ + + 26 Nov 2004; Luca Barbato <lu_zero@gentoo.org> + -files/qemu-0.5.4-jocelyn-mayer-ppc.patch, -qemu-0.5.1.ebuild, + -qemu-0.5.2.ebuild, -qemu-0.5.3.ebuild, -qemu-0.5.4.ebuild, + -qemu-0.5.5-r1.ebuild, -qemu-0.5.5.ebuild: + Cleanup 17 Nov 2004; Luca Barbato <lu_zero@gentoo.org> qemu-0.6.1.ebuild: Removed qemu-fast since that feature won't build on most systems diff --git a/app-emulation/qemu/files/digest-qemu-0.5.1 b/app-emulation/qemu/files/digest-qemu-0.5.1 deleted file mode 100644 index 33ce566cef33..000000000000 --- a/app-emulation/qemu/files/digest-qemu-0.5.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 b18b24b24ca7c40aabb4aa211b50527b qemu-0.5.1.tar.gz 503435 diff --git a/app-emulation/qemu/files/digest-qemu-0.5.2 b/app-emulation/qemu/files/digest-qemu-0.5.2 deleted file mode 100644 index e4469de219bc..000000000000 --- a/app-emulation/qemu/files/digest-qemu-0.5.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 81acda062219c82973e82585b0eb357a qemu-0.5.2.tar.gz 538903 diff --git a/app-emulation/qemu/files/digest-qemu-0.5.3 b/app-emulation/qemu/files/digest-qemu-0.5.3 deleted file mode 100644 index 6e6bcff56b41..000000000000 --- a/app-emulation/qemu/files/digest-qemu-0.5.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 54be44aae45acd32a3fea18b9ca8ab02 qemu-0.5.3.tar.gz 637869 diff --git a/app-emulation/qemu/files/digest-qemu-0.5.4 b/app-emulation/qemu/files/digest-qemu-0.5.4 deleted file mode 100644 index 2fd872f8bd91..000000000000 --- a/app-emulation/qemu/files/digest-qemu-0.5.4 +++ /dev/null @@ -1 +0,0 @@ -MD5 4880e253de75ebaf0673428388232797 qemu-0.5.4.tar.gz 748094 diff --git a/app-emulation/qemu/files/digest-qemu-0.5.5 b/app-emulation/qemu/files/digest-qemu-0.5.5 deleted file mode 100644 index 586dc932638c..000000000000 --- a/app-emulation/qemu/files/digest-qemu-0.5.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 7ca68a9c295a063cf7924ae1809a1abb qemu-0.5.5.tar.gz 749441 diff --git a/app-emulation/qemu/files/digest-qemu-0.5.5-r1 b/app-emulation/qemu/files/digest-qemu-0.5.5-r1 deleted file mode 100644 index 586dc932638c..000000000000 --- a/app-emulation/qemu/files/digest-qemu-0.5.5-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 7ca68a9c295a063cf7924ae1809a1abb qemu-0.5.5.tar.gz 749441 diff --git a/app-emulation/qemu/files/qemu-0.5.4-jocelyn-mayer-ppc.patch b/app-emulation/qemu/files/qemu-0.5.4-jocelyn-mayer-ppc.patch deleted file mode 100644 index 9f72fb1b9efb..000000000000 --- a/app-emulation/qemu/files/qemu-0.5.4-jocelyn-mayer-ppc.patch +++ /dev/null @@ -1,160 +0,0 @@ -Index: hw/vga.c -=================================================================== -RCS file: /cvsroot/qemu/qemu/hw/vga.c,v -retrieving revision 1.23 -diff -u -d -w -B -b -d -p -r1.23 vga.c ---- hw/vga.c 26 Apr 2004 19:44:02 -0000 1.23 -+++ hw/vga.c 28 Apr 2004 00:03:16 -0000 -@@ -33,6 +33,16 @@ - /* S3 VGA is deprecated - another graphic card will be emulated */ - //#define CONFIG_S3VGA - -+/* XXX: should go in target definition */ -+#if defined (TARGET_I386) -+#define ISA_MEM_BASE (target_phys_addr_t)(0x00000000) -+#elif defined (TARGET_PPC) -+/* Note: this true only for PREP platform */ -+#define ISA_MEM_BASE (target_phys_addr_t)(0xc0000000) -+#else -+#error "Please define IO memory base for the emulated target" -+#endif -+ - #define MSR_COLOR_EMULATION 0x01 - #define MSR_PAGE_SELECT 0x20 - -@@ -92,7 +102,7 @@ typedef struct VGAState { - uint8_t dac_write_index; - uint8_t dac_cache[3]; /* used when writing */ - uint8_t palette[768]; -- int32_t bank_offset; -+ target_phys_addr_t bank_offset; - #ifdef CONFIG_BOCHS_VBE - uint16_t vbe_index; - uint16_t vbe_regs[VBE_DISPI_INDEX_NB]; -@@ -549,7 +559,8 @@ static void vbe_ioport_write(void *opaqu - case VBE_DISPI_INDEX_BANK: - val &= s->vbe_bank_mask; - s->vbe_regs[s->vbe_index] = val; -- s->bank_offset = (val << 16) - 0xa0000; -+ -+ s->bank_offset = -(val << 16) - (0xa0000 + ISA_MEM_BASE); - break; - case VBE_DISPI_INDEX_ENABLE: - if (val & VBE_DISPI_ENABLED) { -@@ -603,7 +614,7 @@ static void vbe_ioport_write(void *opaqu - s->vbe_regs[s->vbe_index] = val; - } else { - /* XXX: the bios should do that */ -- s->bank_offset = -0xa0000; -+ s->bank_offset = -(0xa0000 + ISA_MEM_BASE); - } - break; - case VBE_DISPI_INDEX_VIRT_WIDTH: -@@ -658,22 +669,22 @@ static uint32_t vga_mem_readb(target_phy - memory_map_mode = (s->gr[6] >> 2) & 3; - switch(memory_map_mode) { - case 0: -- addr -= 0xa0000; -+ addr -= 0xa0000 + ISA_MEM_BASE; - break; - case 1: -- if (addr >= 0xb0000) -+ if (addr >= 0xb0000 + ISA_MEM_BASE) - return 0xff; - addr += s->bank_offset; - break; - case 2: -- addr -= 0xb0000; -- if (addr >= 0x8000) -+ addr -= 0xb0000 + ISA_MEM_BASE; -+ if (addr >= 0x8000 + ISA_MEM_BASE) - return 0xff; - break; - default: - case 3: -- addr -= 0xb8000; -- if (addr >= 0x8000) -+ addr -= 0xb8000 + ISA_MEM_BASE; -+ if (addr >= 0x8000 + ISA_MEM_BASE) - return 0xff; - break; - } -@@ -736,22 +747,22 @@ static void vga_mem_writeb(target_phys_a - memory_map_mode = (s->gr[6] >> 2) & 3; - switch(memory_map_mode) { - case 0: -- addr -= 0xa0000; -+ addr -= 0xa0000 + ISA_MEM_BASE; - break; - case 1: -- if (addr >= 0xb0000) -+ if (addr >= 0xb0000 + ISA_MEM_BASE) - return; - addr += s->bank_offset; - break; - case 2: -- addr -= 0xb0000; -- if (addr >= 0x8000) -+ addr -= 0xb0000 + ISA_MEM_BASE; -+ if (addr >= 0x8000 + ISA_MEM_BASE) - return; - break; - default: - case 3: -- addr -= 0xb8000; -- if (addr >= 0x8000) -+ addr -= 0xb8000 + ISA_MEM_BASE; -+ if (addr >= 0x8000 + ISA_MEM_BASE) - return; - break; - } -@@ -1642,7 +1653,11 @@ static void vga_save(QEMUFile *f, void * - qemu_put_buffer(f, s->dac_cache, 3); - qemu_put_buffer(f, s->palette, 768); - -+#if TARGET_PHYS_ADDR_BITS == 32 - qemu_put_be32s(f, &s->bank_offset); -+#elif TARGET_PHYS_ADDR_BITS == 64 -+ qemu_put_be64s(f, &s->bank_offset); -+#endif - #ifdef CONFIG_BOCHS_VBE - qemu_put_byte(f, 1); - qemu_put_be16s(f, &s->vbe_index); -@@ -1686,7 +1701,11 @@ static int vga_load(QEMUFile *f, void *o - qemu_get_buffer(f, s->dac_cache, 3); - qemu_get_buffer(f, s->palette, 768); - -+#if TARGET_PHYS_ADDR_BITS == 32 - qemu_get_be32s(f, &s->bank_offset); -+#elif TARGET_PHYS_ADDR_BITS == 64 -+ qemu_get_be64s(f, &s->bank_offset); -+#endif - is_vbe = qemu_get_byte(f); - #ifdef CONFIG_BOCHS_VBE - if (!is_vbe) -@@ -1758,7 +1777,7 @@ int vga_initialize(DisplayState *ds, uin - register_ioport_read(0x3d4, 2, 1, vga_ioport_read, s); - register_ioport_read(0x3ba, 1, 1, vga_ioport_read, s); - register_ioport_read(0x3da, 1, 1, vga_ioport_read, s); -- s->bank_offset = -0xa0000; -+ s->bank_offset = -(0xa0000 + ISA_MEM_BASE); - - #ifdef CONFIG_BOCHS_VBE - s->vbe_regs[VBE_DISPI_INDEX_ID] = VBE_DISPI_ID0; -@@ -1771,15 +1790,13 @@ int vga_initialize(DisplayState *ds, uin - #endif - - vga_io_memory = cpu_register_io_memory(0, vga_mem_read, vga_mem_write); -+ cpu_register_physical_memory(0x000a0000 + ISA_MEM_BASE, 0x20000, vga_io_memory); - #if defined (TARGET_I386) -- cpu_register_physical_memory(0x000a0000, 0x20000, vga_io_memory); - #ifdef CONFIG_BOCHS_VBE - /* XXX: use optimized standard vga accesses */ - cpu_register_physical_memory(VBE_DISPI_LFB_PHYSICAL_ADDRESS, - vga_ram_size, vga_ram_offset); - #endif --#elif defined (TARGET_PPC) -- cpu_register_physical_memory(0xf00a0000, 0x20000, vga_io_memory); - #endif - return 0; - } diff --git a/app-emulation/qemu/qemu-0.5.1.ebuild b/app-emulation/qemu/qemu-0.5.1.ebuild deleted file mode 100644 index 2f1dbae85cd9..000000000000 --- a/app-emulation/qemu/qemu-0.5.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.5.1.ebuild,v 1.7 2004/06/27 23:06:17 vapier Exp $ - -DESCRIPTION="Multi-platform & multi-targets dynamic translator" -HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" -SRC_URI="http://fabrice.bellard.free.fr/qemu/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="x86 ~ppc -alpha -sparc" -IUSE="" -RESTRICT="nostrip" - -DEPEND="virtual/libc - media-libs/libsdl" -RDEPEND="" - -TARGET_LIST="arm-user i386-user i386-softmmu ppc-user sparc-user" - -src_compile() { - ./configure \ - --prefix=/usr \ - --target-list="${TARGET_LIST}" \ - || die "could not configure" - make || die "make failed" -} - -src_install() { - dobin qemu-mkcow - dodir /usr/share/qemu - insinto /usr/share/qemu - doins pc-bios/bios.bin pc-bios/vgabios.bin - doman qemu.1 - - dobin arm-user/qemu-arm - dobin i386-user/qemu-i386 - dobin sparc-user/qemu-sparc - dobin ppc-user/qemu-ppc - dobin sparc-user/qemu-sparc - - dobin i386-softmmu/qemu - - dodoc README README.distrib *.html linux.sh -} - -pkg_postinst() { - echo ">> You will need the Universal TUN/TAP driver compiled into" - echo ">> kernel or as a module to use the virtual network device." -} diff --git a/app-emulation/qemu/qemu-0.5.2.ebuild b/app-emulation/qemu/qemu-0.5.2.ebuild deleted file mode 100644 index 5ca2e8015fa7..000000000000 --- a/app-emulation/qemu/qemu-0.5.2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.5.2.ebuild,v 1.6 2004/06/27 23:06:17 vapier Exp $ - -DESCRIPTION="Multi-platform & multi-targets dynamic translator" -HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" -SRC_URI="http://fabrice.bellard.free.fr/qemu/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="x86 ~ppc -alpha -sparc" -IUSE="" -RESTRICT="nostrip" - -DEPEND="virtual/libc - media-libs/libsdl" -RDEPEND="" - -TARGET_LIST="arm-user i386-user i386-softmmu ppc-user sparc-user" - -src_compile() { - ./configure \ - --prefix=/usr \ - --target-list="${TARGET_LIST}" \ - || die "could not configure" - make || die "make failed" -} - -src_install() { - dobin qemu-mkcow - dodir /usr/share/qemu - insinto /usr/share/qemu - doins pc-bios/bios.bin pc-bios/vgabios.bin - doman qemu.1 - - dobin arm-user/qemu-arm - dobin i386-user/qemu-i386 - dobin sparc-user/qemu-sparc - dobin ppc-user/qemu-ppc - dobin sparc-user/qemu-sparc - - dobin i386-softmmu/qemu - - dodoc README README.distrib *.html linux.sh -} - -pkg_postinst() { - echo ">> You will need the Universal TUN/TAP driver compiled into" - echo ">> kernel or as a module to use the virtual network device." -} diff --git a/app-emulation/qemu/qemu-0.5.3.ebuild b/app-emulation/qemu/qemu-0.5.3.ebuild deleted file mode 100644 index b918def2c396..000000000000 --- a/app-emulation/qemu/qemu-0.5.3.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.5.3.ebuild,v 1.6 2004/06/27 23:06:17 vapier Exp $ - -DESCRIPTION="Multi-platform & multi-targets dynamic translator" -HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" -SRC_URI="http://fabrice.bellard.free.fr/qemu/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~ppc -alpha -sparc" -IUSE="" -RESTRICT="nostrip" - -DEPEND="virtual/libc - media-libs/libsdl" -RDEPEND="" - -TARGET_LIST="arm-user i386-user ppc-user sparc-user" #i386-softmmu - -#RUNTIME_PATH="/emul/gnemul/" - -src_compile() { -# --interp-prefix=${RUNTIME_PATH}/qemu-%M - ./configure \ - --prefix=/usr \ - --target-list="${TARGET_LIST}" \ - || die "could not configure" - make || die "make failed" -} - -src_install() { - make install prefix=${D}/usr \ - bindir=${D}/usr/bin \ - sharedir=${D}/usr/share/qemu \ - mandir=${D}/usr/share/man || die -} - -pkg_postinst() { - echo ">> You will need the Universal TUN/TAP driver compiled into" - echo ">> kernel or as a module to use the virtual network device." -} diff --git a/app-emulation/qemu/qemu-0.5.4.ebuild b/app-emulation/qemu/qemu-0.5.4.ebuild deleted file mode 100644 index 921d1ba55dae..000000000000 --- a/app-emulation/qemu/qemu-0.5.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.5.4.ebuild,v 1.4 2004/06/27 23:06:17 vapier Exp $ - -inherit eutils - -DESCRIPTION="Multi-platform & multi-targets dynamic translator" -HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" -SRC_URI="http://fabrice.bellard.free.fr/qemu/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~ppc -alpha -sparc" -IUSE="" -RESTRICT="nostrip" - -DEPEND="virtual/libc - media-libs/libsdl" -RDEPEND="" - -TARGET_LIST="arm-user i386-user ppc-user sparc-user" #i386-softmmu - -#RUNTIME_PATH="/emul/gnemul/" -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-jocelyn-mayer-ppc.patch -} - -src_compile() { -# --interp-prefix=${RUNTIME_PATH}/qemu-%M - ./configure \ - --prefix=/usr \ - --target-list="${TARGET_LIST}" \ - || die "could not configure" - make || die "make failed" -} - -src_install() { - make install \ - prefix=${D}/usr \ - bindir=${D}/usr/bin \ - sharedir=${D}/usr/share/qemu \ - mandir=${D}/usr/share/man || die -} - -pkg_postinst() { - echo ">> You will need the Universal TUN/TAP driver compiled into" - echo ">> kernel or as a module to use the virtual network device." -} diff --git a/app-emulation/qemu/qemu-0.5.5-r1.ebuild b/app-emulation/qemu/qemu-0.5.5-r1.ebuild deleted file mode 100644 index 441afa144642..000000000000 --- a/app-emulation/qemu/qemu-0.5.5-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.5.5-r1.ebuild,v 1.1 2004/07/02 20:41:26 lu_zero Exp $ - -inherit eutils - -DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator" -HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" -SRC_URI="http://fabrice.bellard.free.fr/qemu/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~ppc -alpha -sparc" -IUSE="softmmu qemu-fast" -RESTRICT="nostrip" - -DEPEND="virtual/libc - media-libs/libsdl" -RDEPEND="" - -set_target_list() { - TARGET_LIST="arm-user i386-user ppc-user sparc-user" #i386-softmmu ppc-softmmu - use softmmu && TARGET_LIST="${TARGET_LIST} i386-softmmu ppc-softmmu" - use qemu-fast && TARGET_LIST="${TARGET_LIST} i386" - export TARGET_LIST -} - -#RUNTIME_PATH="/emul/gnemul/" -src_unpack() { - unpack ${A} - cd ${S} -# epatch ${FILESDIR}/${P}-jocelyn-mayer-ppc.patch -} - -src_compile() { - set_target_list -# --interp-prefix=${RUNTIME_PATH}/qemu-%M - ./configure \ - --prefix=/usr \ - --target-list="${TARGET_LIST}" \ - --enable-slirp \ - || die "could not configure" - make || die "make failed" -} - -src_install() { - make install \ - prefix=${D}/usr \ - bindir=${D}/usr/bin \ - sharedir=${D}/usr/share/qemu \ - docdir=${D}/usr/share/doc \ - mandir=${D}/usr/share/man || die -} - -pkg_postinst() { - echo ">> You will need the Universal TUN/TAP driver compiled into" - echo ">> kernel or as a module to use the virtual network device." -} diff --git a/app-emulation/qemu/qemu-0.5.5.ebuild b/app-emulation/qemu/qemu-0.5.5.ebuild deleted file mode 100644 index 2d71fcd4a870..000000000000 --- a/app-emulation/qemu/qemu-0.5.5.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.5.5.ebuild,v 1.6 2004/06/27 23:06:17 vapier Exp $ - -inherit eutils - -DESCRIPTION="Multi-platform & multi-targets dynamic translator" -HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" -SRC_URI="http://fabrice.bellard.free.fr/qemu/${P}.tar.gz" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="~x86 ~ppc -alpha -sparc" -IUSE="softmmu qemu-fast" -RESTRICT="nostrip" - -DEPEND="virtual/libc - media-libs/libsdl" -RDEPEND="" - -set_target_list() { - TARGET_LIST="arm-user i386-user ppc-user sparc-user" #i386-softmmu ppc-softmmu - use softmmu && TARGET_LIST="${TARGET_LIST} i386-softmmu ppc-softmmu" - use qemu-fast && TARGET_LIST="${TARGET_LIST} i386" - export TARGET_LIST -} - -#RUNTIME_PATH="/emul/gnemul/" -src_unpack() { - unpack ${A} - cd ${S} -# epatch ${FILESDIR}/${P}-jocelyn-mayer-ppc.patch -} - -src_compile() { - set_target_list -# --interp-prefix=${RUNTIME_PATH}/qemu-%M - ./configure \ - --prefix=/usr \ - --target-list="${TARGET_LIST}" \ - || die "could not configure" - make || die "make failed" -} - -src_install() { - make install \ - prefix=${D}/usr \ - bindir=${D}/usr/bin \ - sharedir=${D}/usr/share/qemu \ - docdir=${D}/usr/share/doc \ - mandir=${D}/usr/share/man || die -} - -pkg_postinst() { - echo ">> You will need the Universal TUN/TAP driver compiled into" - echo ">> kernel or as a module to use the virtual network device." -} |