Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B9Oy1-0007Ie-Lc for qemu-devel@nongnu.org; Fri, 02 Apr 2004 08:44:17 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B9OxN-00075p-J6 for qemu-devel@nongnu.org; Fri, 02 Apr 2004 08:44:08 -0500 Received: from [62.146.219.80] (helo=server14.glai.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1B9O7i-0008HY-H6 for qemu-devel@nongnu.org; Fri, 02 Apr 2004 07:50:14 -0500 From: Rudi Lippert Subject: Re: [Qemu-devel] Re: live cvs ebuild for gentoo - maybe? Date: Fri, 2 Apr 2004 14:48:35 +0200 References: <200404020922.36268.Rudi@LYRIKpage.de> <2192417.kl9njxA0tX@schnecke2.gabrielebner.at> In-Reply-To: <2192417.kl9njxA0tX@schnecke2.gabrielebner.at> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_jEWbAdwe+553hc8" Message-Id: <200404021448.38825.Rudi@LYRIKpage.de> 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-devel@nongnu.org --Boundary-00=_jEWbAdwe+553hc8 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 i am heavily impressed! where all my attempts to build qemu from cvs failed= ,=20 this ebuild installed like a charm. you really made my day. danke! you might want to add "!app-emulation/qemu" to the RDEPEND, so that this=20 cannot be installed on top of a standard qemu installation. most people won= 't=20 run into that error, but i think it is just more complete with that line. i attached a file including this DEPEND. "[Qemu-devel] Re: live cvs ebuild for gentoo - maybe?" (Gabriel Ebner, Frid= ay=20 02 April 2004 13:12): > Hello, > > 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. > > Gabriel. =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAbWEm1nTg39QS/TsRAm8TAJoDnW8Zj7MZxPVu8z+mgBqsrrqSPACghxUG QZPQ13I6t35wnvL4Azvb4NI=3D =3Dar7w =2D----END PGP SIGNATURE----- --Boundary-00=_jEWbAdwe+553hc8 Content-Type: text/plain; charset="iso-8859-15"; name="qemu-cvs-1.1.ebuild" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="qemu-cvs-1.1.ebuild" # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 S="${WORKDIR}/qemu" 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="" RDEPEND=" virtual/glibc media-libs/libsdl media-libs/alsa-lib !app-emulation/qemu" DEPEND="${RDEPEND} dev-util/cvs" RESTRICT="nostrip" 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..." if ! [ -n "`grep savannah.nongnu.org $HOME/.ssh/known_hosts`" ]; then ewarn "You probably want to add the savannah.nongnu.org ssh key" \ "to your .ssh/known_hosts" fi 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 root:root ${S} } src_compile() { ./configure --prefix=/usr \ --target-list="${TARGET_LIST}" || die "could not configure" emake || die "make failed" } src_install() { make install prefix=${D}/usr sharedir=${D}/usr/share/qemu \ mandir=${D}/usr/share/man 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." } --Boundary-00=_jEWbAdwe+553hc8--