From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B9QQ5-00033k-2o for qemu-devel@nongnu.org; Fri, 02 Apr 2004 10:17:21 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B9PYX-0007iy-S9 for qemu-devel@nongnu.org; Fri, 02 Apr 2004 09:22:33 -0500 Received: from [62.210.158.41] (helo=moscou.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B9Owz-0006w0-Rn for qemu-devel@nongnu.org; Fri, 02 Apr 2004 08:43:13 -0500 Subject: Re: [Qemu-devel] Re: live cvs ebuild for gentoo - maybe? From: Jocelyn Mayer In-Reply-To: <2192417.kl9njxA0tX@schnecke2.gabrielebner.at> References: <200404020922.36268.Rudi@LYRIKpage.de> <2192417.kl9njxA0tX@schnecke2.gabrielebner.at> Content-Type: multipart/mixed; boundary="=-PREymyQ0Sgx1pnMBkGPb" Message-Id: <1080913631.15392.41.camel@jma1.dev.netgem.com> Mime-Version: 1.0 Date: 02 Apr 2004 15:47:14 +0200 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ge@gabrielebner.at, qemu mailing list --=-PREymyQ0Sgx1pnMBkGPb Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, 2004-04-02 at 13:12, Gabriel Ebner wrote: > Hello, > > Rudi Lippert wrote: > > does anyone have experience with live cvs ebuilds for gentoo linux? > > maybe jocelyn could create such an ebuild for qemu. this would make > > building qemu as easy as installing any other package as it would include > > all the dependencies. > > of course, this would only help gentoo users, but it seems that there are > > quite a few of us interested in qemu. > > My qemu cvs ebuild is attached; but be warned that I'm new to writing > ebuilds and so don't blame me if somethings fails. > Here's another ebuild. This one minimises the patch against qemu-0.5.2 ebuild and seems to be usable. -- Jocelyn Mayer Never organized --=-PREymyQ0Sgx1pnMBkGPb Content-Description: qemu CVS ebuild Content-Disposition: inline; filename=qemu-cvs.ebuild Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit # 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:anoncvs@savannah.nongnu.org:/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 --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." } --=-PREymyQ0Sgx1pnMBkGPb--