diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2003-02-07 22:57:02 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2003-02-07 22:57:02 +0000 |
commit | 39ec651d0536a32455ce4304adf19468eac4eafb (patch) | |
tree | 90a58db0a0d9e1ac7b1fc8f163f39d55f429c94b /app-emulation | |
parent | initial build (diff) | |
download | gentoo-2-39ec651d0536a32455ce4304adf19468eac4eafb.tar.gz gentoo-2-39ec651d0536a32455ce4304adf19468eac4eafb.tar.bz2 gentoo-2-39ec651d0536a32455ce4304adf19468eac4eafb.zip |
new version, wxGTK gui added
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/bochs/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/bochs/bochs-2.0.2.ebuild | 56 | ||||
-rw-r--r-- | app-emulation/bochs/files/digest-bochs-2.0.2 | 2 |
3 files changed, 64 insertions, 1 deletions
diff --git a/app-emulation/bochs/ChangeLog b/app-emulation/bochs/ChangeLog index c44dda4361e8..88940dc85da1 100644 --- a/app-emulation/bochs/ChangeLog +++ b/app-emulation/bochs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/bochs # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.6 2003/01/19 22:55:55 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.7 2003/02/07 22:57:02 lu_zero Exp $ + +*bochs-2.0 (07 Feb 2003) + 07 Feb 2003; Luca Barbato <lu_zero@gentoo.org> ChangeLog : bochs-2.0.2.ebuild + + Version bump again, added the gtk useflag *bochs-2.0 (19 Jan 2003) diff --git a/app-emulation/bochs/bochs-2.0.2.ebuild b/app-emulation/bochs/bochs-2.0.2.ebuild new file mode 100644 index 000000000000..a53c5433fc44 --- /dev/null +++ b/app-emulation/bochs/bochs-2.0.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.0.2.ebuild,v 1.1 2003/02/07 22:57:02 lu_zero Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Bochs is a pc emulator. +This ebuild is set up to emulate a Pentium, with a NE2000 network card, and a +CDROM drive. It also comes with a disk image using dlxlinux." +SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz + http://bochs.sourceforge.net/guestos/dlxlinux3.tar.gz" +HOMEPAGE="http://bochs.sourceforge.net" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="sdl gtk" + +DEPEND=">=sys-libs/glibc-2.1.3 + >=x11-base/xfree-4.0.1 + sdl? media-libs/libsdl + gtk? x11-libs/wxGTK + " +KEYWORDS="~x86 ~ppc" + +src_unpack() { + unpack ${P}.tar.gz + + cd $S + cp Makefile.in Makefile.in.orig + sed -e "s:\$(WGET) \$(DLXLINUX_TAR_URL):cp ${DISTDIR}/dlxlinux3.tar.gz .:" \ + -e 's:BOCHSDIR=:BOCHSDIR=/usr/lib/bochs#:' \ + -e 's: $(BOCHSDIR): $(DESTDIR)$(BOCHSDIR):g' Makefile.in.orig > Makefile.in + +} + +src_compile() { + + [ "$ARCH" == "x86" ] && myconf="--enable-idle-hack" + use sdl && myconf="${myconf} --with-sdl" \ + || myconf="${myconf} --without-sdl" + use gtk && myconf="${myconf} --with-wx" \ + || myconf="${myconf} --without-wx" + + ./configure --enable-fpu --enable-cdrom --enable-control-panel \ + --enable-ne2000 --enable-sb16=linux --enable-slowdown --prefix=/usr \ + --infodir=/usr/share/info --mandir=/usr/share/man --host=${CHOST} --with-x11 $myconf || die + + + emake || die +} + + +src_install () { + + make DESTDIR=${D} install || die + dodoc CHANGES COPYING CVS README TESTFORM.txt +} + diff --git a/app-emulation/bochs/files/digest-bochs-2.0.2 b/app-emulation/bochs/files/digest-bochs-2.0.2 new file mode 100644 index 000000000000..39c85cec6575 --- /dev/null +++ b/app-emulation/bochs/files/digest-bochs-2.0.2 @@ -0,0 +1,2 @@ +MD5 11bb4e7804f9fef3cda3822f03641b55 bochs-2.0.2.tar.gz 3269299 +MD5 b1c1592f105fa7aa0ffaba349d38fcaa dlxlinux3.tar.gz 1504727 |