summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-11 02:06:14 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-11 02:06:14 +0000
commitb0c2481f9e69ae9df0283a31f4021e928647c28d (patch)
tree518fe3fb56e4b18e76a7cdd14b6ba341c7ad6576 /app-emulation/spim
parentadd patch from Luke Macken to fix bad code generation (bug #47141) (Manifest ... (diff)
downloadgentoo-2-b0c2481f9e69ae9df0283a31f4021e928647c28d.tar.gz
gentoo-2-b0c2481f9e69ae9df0283a31f4021e928647c28d.tar.bz2
gentoo-2-b0c2481f9e69ae9df0283a31f4021e928647c28d.zip
rev bump so the patch goes out
Diffstat (limited to 'app-emulation/spim')
-rw-r--r--app-emulation/spim/ChangeLog7
-rw-r--r--app-emulation/spim/Manifest2
-rw-r--r--app-emulation/spim/files/digest-spim-6.5-r11
-rw-r--r--app-emulation/spim/spim-6.5-r1.ebuild54
4 files changed, 63 insertions, 1 deletions
diff --git a/app-emulation/spim/ChangeLog b/app-emulation/spim/ChangeLog
index f3e0c619d787..4f6278c89ddf 100644
--- a/app-emulation/spim/ChangeLog
+++ b/app-emulation/spim/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/spim
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.8 2004/04/11 02:03:39 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.9 2004/04/11 02:06:14 mr_bones_ Exp $
+
+*spim-6.5-r1 (10 Apr 2004)
+
+ 10 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> spim-6.5-r1.ebuild:
+ rev bump so the patch goes out
10 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> spim-6.5.ebuild,
files/6.5-parser.patch:
diff --git a/app-emulation/spim/Manifest b/app-emulation/spim/Manifest
index 8cd2fb05c2e0..a841cd807173 100644
--- a/app-emulation/spim/Manifest
+++ b/app-emulation/spim/Manifest
@@ -1,4 +1,6 @@
MD5 9111c5f59b73e230eae2ae82b77cfa34 ChangeLog 1293
MD5 478f827619b5419bfe198db6b4643922 spim-6.5.ebuild 1336
+MD5 478f827619b5419bfe198db6b4643922 spim-6.5-r1.ebuild 1336
MD5 d71d66b98121e4e42ca59fa94310ed1e files/6.5-parser.patch 266
MD5 3962179c22e4349945b01edbadfac9a5 files/digest-spim-6.5 60
+MD5 3962179c22e4349945b01edbadfac9a5 files/digest-spim-6.5-r1 60
diff --git a/app-emulation/spim/files/digest-spim-6.5-r1 b/app-emulation/spim/files/digest-spim-6.5-r1
new file mode 100644
index 000000000000..97d43cc2f924
--- /dev/null
+++ b/app-emulation/spim/files/digest-spim-6.5-r1
@@ -0,0 +1 @@
+MD5 be9cf6ff2798e507736d05eb5c70914f spim-6.5.tar.gz 444075
diff --git a/app-emulation/spim/spim-6.5-r1.ebuild b/app-emulation/spim/spim-6.5-r1.ebuild
new file mode 100644
index 000000000000..ec91f87963f8
--- /dev/null
+++ b/app-emulation/spim/spim-6.5-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-6.5-r1.ebuild,v 1.1 2004/04/11 02:06:14 mr_bones_ 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:\(TRAP_DIR = \).*$:\1/usr/sbin:" Makefile \
+ || die "sed Makefile failed"
+
+ 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
+ dosbin trap.handler || die "dosbin failed"
+ dodoc BLURB README VERSION ChangeLog Documentation/*
+}