summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2004-09-05 23:26:47 +0000
committerBryan Østergaard <kloeri@gentoo.org>2004-09-05 23:26:47 +0000
commitd0e5c8e2c2b1818ec172ad66846ca366c0783719 (patch)
tree5e45bd41e6ea80c5aba4209cd4b952950e6f0bf3 /app-emulation/spim
parentadded 3.4.2_pre20040902 for testing and working on the new toolchain.eclass. ... (diff)
downloadhistorical-d0e5c8e2c2b1818ec172ad66846ca366c0783719.tar.gz
historical-d0e5c8e2c2b1818ec172ad66846ca366c0783719.tar.bz2
historical-d0e5c8e2c2b1818ec172ad66846ca366c0783719.zip
Version bump, ebuild by mickn in #gentoo-bugs.
Diffstat (limited to 'app-emulation/spim')
-rw-r--r--app-emulation/spim/ChangeLog7
-rw-r--r--app-emulation/spim/Manifest4
-rw-r--r--app-emulation/spim/files/digest-spim-7.01
-rw-r--r--app-emulation/spim/spim-7.0.ebuild56
4 files changed, 66 insertions, 2 deletions
diff --git a/app-emulation/spim/ChangeLog b/app-emulation/spim/ChangeLog
index 9f55dc15bcdf..429ca7bdae39 100644
--- a/app-emulation/spim/ChangeLog
+++ b/app-emulation/spim/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/spim
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.10 2004/06/24 22:34:40 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.11 2004/09/05 23:26:47 kloeri Exp $
+
+*spim-7.0 (06 Sep 2004)
+
+ 06 Sep 2004; Bryan Østergaard <kloeri@gentoo.org> +spim-7.0.ebuild:
+ Version bump, ebuild by mickn in #gentoo-bugs.
*spim-6.5-r1 (10 Apr 2004)
diff --git a/app-emulation/spim/Manifest b/app-emulation/spim/Manifest
index fe3fd523050d..a8b7518edad0 100644
--- a/app-emulation/spim/Manifest
+++ b/app-emulation/spim/Manifest
@@ -1,6 +1,8 @@
+MD5 34b1616a74a243d195036f65a3405303 spim-7.0.ebuild 1389
MD5 61bd06678ab1e9df4ac12a33763643e0 spim-6.5-r1.ebuild 1329
-MD5 0652999a768cc050e131b3d86140ee4b ChangeLog 1421
+MD5 6f518f84a0e774fa8aa3821502deda8f ChangeLog 1564
MD5 7ef309c7fc5faed7e9bc4d773ae76212 spim-6.5.ebuild 1327
MD5 d71d66b98121e4e42ca59fa94310ed1e files/6.5-parser.patch 266
MD5 3962179c22e4349945b01edbadfac9a5 files/digest-spim-6.5-r1 60
MD5 3962179c22e4349945b01edbadfac9a5 files/digest-spim-6.5 60
+MD5 4a319eadc732563e1b440f79010edac0 files/digest-spim-7.0 56
diff --git a/app-emulation/spim/files/digest-spim-7.0 b/app-emulation/spim/files/digest-spim-7.0
new file mode 100644
index 000000000000..b1b1c25ad0dc
--- /dev/null
+++ b/app-emulation/spim/files/digest-spim-7.0
@@ -0,0 +1 @@
+MD5 c93d8ef25cee2d8847f4f98d30c20889 spim.tar.gz 302395
diff --git a/app-emulation/spim/spim-7.0.ebuild b/app-emulation/spim/spim-7.0.ebuild
new file mode 100644
index 000000000000..864b69fc1057
--- /dev/null
+++ b/app-emulation/spim/spim-7.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-7.0.ebuild,v 1.1 2004/09/05 23:26:47 kloeri Exp $
+
+inherit eutils
+
+DESCRIPTION="MIPS Simulator"
+HOMEPAGE="http://www.cs.wisc.edu/~larus/spim.html"
+# No version upstream
+SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/spim.tar.gz"
+#SRC_URI="mirror://gentoo//${P}.tar.gz"
+
+KEYWORDS="~x86 ~amd64 ~ppc"
+LICENSE="as-is"
+SLOT="0"
+IUSE="X"
+
+RDEPEND="X? ( virtual/x11 )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # fix bad code generation (bug #47141)
+ #epatch "${FILESDIR}/${PV}-parser.patch"
+}
+
+src_compile() {
+ ./Configure || die "Configure script failed"
+
+ sed -i \
+ -e 's/@make/@$(MAKE)/' \
+ -e "s:\(BIN_DIR = \).*$:\1/usr/bin:" \
+ -e "s:\(MAN_DIR = \).*$:\1/usr/share/bin:" \
+ -e "s:\(EXCEPTION_DIR = \).*$:\1/var/lib/spim:" Imakefile \
+ || die "sed Makefile failed"
+ xmkmf
+ emake spim || die "make spim failed"
+ if use X ; then
+ emake xspim || die "emake xspim failed"
+ fi
+}
+
+src_install() {
+ dobin spim || die "dobin failed"
+ newman spim.man spim.1
+ if use X ; then
+ dobin xspim || die "dobin failed"
+ newman xspim.man xspim.1
+ fi
+ dodir /var/lib/spim
+ insinto /var/lib/spim
+ doins exceptions.s || die "dosbin failed"
+ dodoc BLURB README VERSION ChangeLog Documentation/*
+}