# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 ECVS_AUTH="ext" export CVS_RSH="ssh" ECVS_SERVER="savannah.gnu.org:/cvsroot/qemu" ECVS_MODULE="qemu" ECVS_USER="anoncvs" ECVS_PASS="" ECVS_CVS_OPTIONS="-dP" ECVS_SSH_HOST_KEY="savannah.gnu.org,199.232.41.3 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzFQovi+67xa+wymRz9u3plx0ntQnELBoNU4SCl3RkwSFZkrZsRTC0fTpOKatQNs1r/BLFoVt21oVFwIXVevGQwB+Lf0Z+5w9qwVAQNu/YUAFHBPTqBze4wYK/gSWqQOLoj7rOhZk0xtAS6USqcfKdzMdRWgeuZ550P6gSzEHfv0=" inherit cvs S="${WORKDIR}/${ECVS_MODULE}" DESCRIPTION="Multi-platform & multi-targets dynamic translator" SRC_URI="" HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" KEYWORDS="x86 ppc -alpha -sparc -arm" SLOT="0" LICENSE="GPL-2 LGPL-2.1" IUSE="sdl" DEPEND="virtual/glibc sdl? ( media-libs/libsdl ) || ( app-text/tetex app-text/texi2html )" RDEPEND="virtual/glibc sdl? ( media-libs/libsdl ) !app-emulation/qemu" RESTRICT="$RESTRICT nostrip" TARGET_LIST="arm-user i386-user i386-softmmu ppc-user sparc-user" src_compile() { econf --target-list="${TARGET_LIST}" `use_enable sdl` \ || die "configure failed" emake || die "make failed" } src_install() { echo sharedir=${D}/usr/share/qemu >>config-host.mak echo bindir=${D}/usr/bin >>config-host.mak einstall dodoc TODO VERSION COPYING* README README.distrib *.html } pkg_postinstall() { einfo "You will need the Universal TUN/TAP driver compiled into" einfo "kernel or as a module to use the virtual network device." }