Skip to contentSkip to conversation

Windows 98 News

Qemu-devel Jason Gress 1 participant 1 message May 5, 2004 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Oops! I accidently sent this off-list. Here's what I wrote (w/ attachment):

Quoted 5 lines · Jason Gress

Sure thing - it's attached. Put it in your PORTAGE_OVERLAY, in app-emulation/qemu-cvs. I chose 04302004 only because that was the date that I found it and put it in my dir; it's irrelevant otherwise. Enjoy! :)

Quoted 15 lines

Jason

Quoted 12 lines · Bob Barry

Jason -

On Thursday 01 January 1970 01:59, you wrote (to qemu list):

Quoted 3 lines

P.S.  CVS ebuilds rock - I found this somewhere (on this list? - can't remember what google did for me) but if someone wants a perfectly working one let me know :)

May I please have a copy?

Thanks,

Bob Barry

# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2

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=""

DEPEND="virtual/glibc
dev-util/cvs
media-libs/libsdl"
RDEPEND=""

RESTRICT="nostrip fetch"

TARGET_LIST="arm-user i386-user i386-softmmu ppc-user sparc-user"

src_unpack() {
        # This is hackish, but it works.
        addwrite ${DISTDIR}/cvs-src
        mkdir -p ${DISTDIR}/cvs-src/
        cd ${DISTDIR}/cvs-src

        einfo "Checking out latest qemu from CVS..."
        export CVS_RSH=ssh
        cvs -z3 -d:ext:[email protected]:/cvsroot/qemu co qemu \
                || die "could not checkout source from cvs"
        cp -a qemu ${S}

        # Fix an ownership porblem
        chown -R portage:portage ${S}   
}
src_compile () {
        ./configure --enable-slirp --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_postinstall() {
echo ">> You will need the Universal TUN/TAP driver compiled into" echo ">> kernel or as a module to use the virtual network device."
}