# Copyright 1999-2004 Gentoo Technologies, Inc. # 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.1 2004/04/24 21:37:11 lu_zero Exp $ DESCRIPTION="Multi-platform & multi-targets dynamic translator" SRC_URI="http://fabrice.bellard.free.fr/qemu/${P}.tar.gz" HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" KEYWORDS="~x86 ~ppc -alpha -sparc" SLOT="0" LICENSE="GPL-2 LGPL-2.1" IUSE="" DEPEND="virtual/glibc media-libs/libsdl" RDEPEND="" RESTRICT="nostrip" TARGET_LIST="arm-user i386-user i386-softmmu ppc-user sparc-user" #RUNTIME_PATH="/emul/gnemul/" src_compile () { ./configure --prefix=/usr \ --target-list="${TARGET_LIST}" || die "could not configure" make || die "make failed" # --interp-prefix=${RUNTIME_PATH}/qemu-%M } src_install() { make install prefix=${D}/usr \ bindir=${D}/usr/bin \ sharedir=${D}/usr/share/qemu \ mandir=${D}/usr/share/man || die } pkg_postinstall() { echo ">> You will need the Universal TUN/TAP driver compiled into" echo ">> kernel or as a module to use the virtual network device." }