summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2005-07-10 03:21:43 +0000
committerLuca Barbato <lu_zero@gentoo.org>2005-07-10 03:21:43 +0000
commit210f3e149b26ef011f909b25f4227edae28544fe (patch)
treeea0b39c27ddf9e00597c5cf6a7e0a358b3c47d6b /app-emulation
parentAdded ~sparc keyword. (diff)
downloadhistorical-210f3e149b26ef011f909b25f4227edae28544fe.tar.gz
historical-210f3e149b26ef011f909b25f4227edae28544fe.tar.bz2
historical-210f3e149b26ef011f909b25f4227edae28544fe.zip
New version
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/bochs/ChangeLog7
-rw-r--r--app-emulation/bochs/Manifest16
-rw-r--r--app-emulation/bochs/bochs-2.2.1.ebuild78
-rw-r--r--app-emulation/bochs/files/digest-bochs-2.2.12
4 files changed, 90 insertions, 13 deletions
diff --git a/app-emulation/bochs/ChangeLog b/app-emulation/bochs/ChangeLog
index 2e24fa4cc2c8..4030964a394e 100644
--- a/app-emulation/bochs/ChangeLog
+++ b/app-emulation/bochs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/bochs
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.41 2005/04/21 18:45:37 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/ChangeLog,v 1.42 2005/07/10 03:21:42 lu_zero Exp $
+
+*bochs-2.2.1 (10 Jul 2005)
+
+ 10 Jul 2005; Luca Barbato <lu_zero@gentoo.org> +bochs-2.2.1.ebuild:
+ New version
21 Apr 2005; Simon Stelling <blubb@gentoo.org> bochs-2.1.1.ebuild:
stable on amd64
diff --git a/app-emulation/bochs/Manifest b/app-emulation/bochs/Manifest
index a2c2f0379d22..9e68d0b00ce0 100644
--- a/app-emulation/bochs/Manifest
+++ b/app-emulation/bochs/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 273efd5c1f0e06fbb9620b9583d6398c bochs-2.1.1.ebuild 2408
MD5 b378526dea0a003eeab6481bd2020897 bochs-2.1.ebuild 2144
-MD5 9d13df7e866ad2cf6ac36182d798e3ca ChangeLog 4552
+MD5 d5b429c7a99072baebeb59c4bdb847ac ChangeLog 4667
MD5 898131aae735c3477ff2f9c6882f1178 metadata.xml 223
+MD5 273efd5c1f0e06fbb9620b9583d6398c bochs-2.1.1.ebuild 2408
+MD5 e76acf49ab0636869688189653813441 bochs-2.2.1.ebuild 2294
MD5 207a406a1a47e2650e396ea0976f5206 files/digest-bochs-2.1.1 126
+MD5 f95b73bcfb4c045d563032c0b0b824c7 files/digest-bochs-2.2.1 126
MD5 cde4fb61affbffb1c90e04d0a94dacd9 files/bochs-2.1.1-regparm-typo.patch 337
MD5 8e9513ab2651bd41c0529405d45d3da1 files/digest-bochs-2.1 124
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCzJjrBXaUFmZvwyMRAthLAJsFWoHVHI1YXMJHp+4rNRk7hy7orQCfXTho
-5EfbMXb3sisrSsYP/YdSBB4=
-=pkKB
------END PGP SIGNATURE-----
diff --git a/app-emulation/bochs/bochs-2.2.1.ebuild b/app-emulation/bochs/bochs-2.2.1.ebuild
new file mode 100644
index 000000000000..ebd35b6da894
--- /dev/null
+++ b/app-emulation/bochs/bochs-2.2.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/bochs/bochs-2.2.1.ebuild,v 1.1 2005/07/10 03:21:42 lu_zero Exp $
+
+inherit eutils wxwidgets
+
+DESCRIPTION="a LGPL-ed pc emulator"
+HOMEPAGE="http://bochs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/bochs/${P}.tar.gz
+ http://bochs.sourceforge.net/guestos/dlxlinux4.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~sparc ~amd64"
+IUSE="debugger gtk2 readline sdl wxwindows"
+
+RDEPEND="virtual/libc
+ virtual/x11
+ sdl? ( media-libs/libsdl )
+ wxwindows? ( =x11-libs/wxGTK-2.4* )
+ readline? ( sys-libs/readline )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ >=app-text/opensp-1.5"
+
+src_unpack() {
+# unpack ${A}
+ unpack ${P}.tar.gz
+ cd ${S}
+# -e 's:MAN_PAGE_1_LIST=bochs bximage bochs-dlx:MAN_PAGE_1_LIST=bochs bximage:'
+ sed -i \
+ -e "s:\$(WGET) \$(DLXLINUX_TAR_URL):cp ${DISTDIR}/dlxlinux4.tar.gz .:" \
+ -e 's:BOCHSDIR=:BOCHSDIR=/usr/lib/bochs#:' \
+ -e 's: $(BOCHSDIR): $(DESTDIR)$(BOCHSDIR):g' Makefile.in || \
+ die "sed Makefile.in failed"
+}
+
+src_compile() {
+ use wxwindows && \
+ if ! use gtk2 ; then
+ need-wxwidgets gtk
+ else
+ need-wxwidgets gtk2
+ fi
+
+ [ "$ARCH" == "x86" ] \
+ && myconf="--enable-idle-hack --enable-fast-function-calls"
+ myconf="${myconf} `use_with sdl`"
+ myconf="${myconf} `use_enable readline`"
+ use wxwindows && \
+ myconf="${myconf} --with-gtk --with-wx"
+ use wxwindows || \
+ myconf="${myconf} --without-gtk --without-wx"
+ use debugger && \
+ myconf="$myconf --enable-debugger --enable-disasm --enable-x86-debugger"
+
+ ./configure \
+ --enable-fpu --enable-cdrom --enable-control-panel \
+ --enable-usb --enable-pci --enable-mmx --enable-sse\
+ --enable-cpu-level=6 --enable-vbe\
+ --enable-repeat-speedups --enable-guest2host-tlb \
+ --enable-plugins \
+ --enable-ignore-bad-msr \
+ --enable-ne2000 --enable-sb16=linux --enable-slowdown --prefix=/usr \
+ --infodir=/usr/share/info --mandir=/usr/share/man --host=${CHOST} \
+ --with-x11 $myconf || \
+ die "configure failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install unpack_dlx || die "make install failed"
+ #workaround
+ make prefix=${D}/usr install_dlx
+
+ dodoc CHANGES README TESTFORM.txt || die "dodoc failed"
+}
diff --git a/app-emulation/bochs/files/digest-bochs-2.2.1 b/app-emulation/bochs/files/digest-bochs-2.2.1
new file mode 100644
index 000000000000..10f6284fdb3e
--- /dev/null
+++ b/app-emulation/bochs/files/digest-bochs-2.2.1
@@ -0,0 +1,2 @@
+MD5 50484c75d8175fcd97a81432ac18fb71 bochs-2.2.1.tar.gz 3785329
+MD5 21c153f5aa391395c35f0c2f660da972 dlxlinux4.tar.gz 1504868