diff options
author | Ricardo Mendoza <ricmm@gentoo.org> | 2009-03-24 03:02:16 +0000 |
---|---|---|
committer | Ricardo Mendoza <ricmm@gentoo.org> | 2009-03-24 03:02:16 +0000 |
commit | 8d3dfb0fcf2f3e682d0e1db47b7454977f811f0e (patch) | |
tree | 88daef77241fe98e8d77edbb2d648d06dc886a0f /app-emulation | |
parent | New package, initial commit (diff) | |
download | historical-8d3dfb0fcf2f3e682d0e1db47b7454977f811f0e.tar.gz historical-8d3dfb0fcf2f3e682d0e1db47b7454977f811f0e.tar.bz2 historical-8d3dfb0fcf2f3e682d0e1db47b7454977f811f0e.zip |
Version bump. Released 22-01-2009. Several fixes to the code.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/spim/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/spim/Manifest | 4 | ||||
-rw-r--r-- | app-emulation/spim/spim-7.4.ebuild | 96 |
3 files changed, 105 insertions, 2 deletions
diff --git a/app-emulation/spim/ChangeLog b/app-emulation/spim/ChangeLog index 15112d81a843..a1fb47d6d76a 100644 --- a/app-emulation/spim/ChangeLog +++ b/app-emulation/spim/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/spim # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.46 2009/03/23 13:08:21 ricmm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.47 2009/03/24 03:02:16 ricmm Exp $ + +*spim-7.4 (24 Mar 2009) + + 24 Mar 2009; <ricmm@gentoo.org> +spim-7.4.ebuild: + Version bump. Released 22-01-2009. Several fixes to the code. 23 Mar 2009; <ricmm@gentoo.org> metadata.xml: Adding myself to metadata. diff --git a/app-emulation/spim/Manifest b/app-emulation/spim/Manifest index 71c3d7ee62c5..15ace0f7d2af 100644 --- a/app-emulation/spim/Manifest +++ b/app-emulation/spim/Manifest @@ -7,8 +7,10 @@ AUX spim-7.2.1-string-handling-fix.patch 1304 RMD160 578b8f45542837b532537474f52 AUX spim-7.2.1-string-stream.patch 488 RMD160 9a2feddb35766c73cda969cd6311c1e5655dd5f9 SHA1 11f115a5f2a08b58d4d1a011e0bb21a5f1a0a21e SHA256 1d68146570de0ed4aa045b9e134f8f34b558cbaf3d4487ab312b41fd04594e5b DIST spim-7.2.1.tar.gz 534388 RMD160 fa3f57d80ddfc6870f83f4d90d038c30fa79fb74 SHA1 22bcf17df10bbe28b3ee93256763ac7167523aba SHA256 347771fc7f91ba12092b22374ddb377f13c588e6d0d1a0cdacea8bbb76f347fb DIST spim-7.3.tar.gz 347226 RMD160 f87116820755ff76087889bbd0f39eaacbce201a SHA1 630b75ebc9365093e1b3d0c98ca0524f772d8647 SHA256 d7de06135c519108055a90abe77ced4e36dec4f7f27ce1a2fca0059f86cdf35d +DIST spim-7.4.tar.gz 358993 RMD160 e134bb9271a65e4324375d4aa5b4f81d4d6b9963 SHA1 7c0772389dc7db54854681bceae432ea0e4c1587 SHA256 abb79a708bc5afaa2f02beea18fb8ad1071264ee1fde75d1e0c439c9c60f19af EBUILD spim-7.2.1-r2.ebuild 2390 RMD160 f0c036db11423b73e8dae66fec1495fba72d5591 SHA1 1e356a8bd3a920c4be4225c73654a3591c61639d SHA256 d23f2ab16a8012c8d8bd573ac4a58e631c6cb7b99c8116a003a08bd347dca652 EBUILD spim-7.2.1-r3.ebuild 2501 RMD160 859fbc89fe2dd3696ee2ade74f59f80cf1614ea5 SHA1 9c29c07e5c46234a8e39bf6107a94db55b74964c SHA256 4c93faa4727b748075c2e27c3475962b3486048b784503402cb64e9b57b9f7a5 EBUILD spim-7.3.ebuild 2048 RMD160 ee1c35621a8a4f841bef1e4f52b2447705108faa SHA1 0a75882949e14974c622c4e8df1665e46714346b SHA256 a018cd7d1cd35db1adc0f8d1a6111be379d97e4b0b7061d8b49dfa30e539f2dd -MISC ChangeLog 6675 RMD160 6a1c998e87030aadc924feded0d9df494a27d7e8 SHA1 d6820dbea6a42fd9fa372a380b858abd06da43c3 SHA256 fd200fde2fb6b91996ba6601c41ffbc6fd4250e1be04ebc829b9ac5e733f30d2 +EBUILD spim-7.4.ebuild 2045 RMD160 35307049e348a5a4af98099405417f4b2e69fb81 SHA1 075deef4eb27cd91064eb91eede0ee84bbf5cca9 SHA256 9e23d2f7f84a01da84392eb526c16dca25cc1810672454f59e7258906b321e1d +MISC ChangeLog 6817 RMD160 f9372b296045151382767d444124cba68abc1136 SHA1 55ad81db6e7a8fa00a07030dd4654c4f89b0a64f SHA256 207ba0616bd73cd8982f343dcb1c8d2b93318e211f1297bdf9f2fa13eb6de68f MISC metadata.xml 440 RMD160 2bc90bd8aeacfcb3cb837a01b27313048b940005 SHA1 1afa0dd04f7ebf5735b63e4f48a8ee9364ee408c SHA256 82955b2522d81367ae4ed61542d0a39b4a82fe5a0a7f73fdaefd24299064f153 diff --git a/app-emulation/spim/spim-7.4.ebuild b/app-emulation/spim/spim-7.4.ebuild new file mode 100644 index 000000000000..8e050ed06eb0 --- /dev/null +++ b/app-emulation/spim/spim-7.4.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-7.4.ebuild,v 1.1 2009/03/24 03:02:16 ricmm Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="MIPS Simulator" +HOMEPAGE="http://www.cs.wisc.edu/~larus/spim.html" +SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="X" +RESTRICT="strip" +RDEPEND="X? ( x11-libs/libXaw + x11-libs/libXp )" +DEPEND="${RDEPEND} + X? ( x11-misc/imake + x11-proto/xproto ) + >=sys-apps/sed-4 + sys-devel/bison" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix documentation files + cd "${S}/Documentation" + mv spim.man spim.1 + mv xspim.man xspim.1 +} + +src_compile() { + cd "${S}/spim" + + ./Configure || die "Configure Failed!" + + sed -i \ + -e 's:@make:@$(MAKE):' \ + -e 's:\(BIN_DIR = \).*$:\1\$(DESTDIR)/usr/bin:' \ + -e 's:\(MAN_DIR = \).*$:\1\$(DESTDIR)/usr/share/man:' \ + -e 's:\(EXCEPTION_DIR = \).*$:\1$(DESTDIR)/var/lib/spim:' \ + -e 's:\(^\W*install.*\) exceptions.s \(.*$\):\1 \$(CPU_DIR)/exceptions.s \2:' \ + -e "s:^\W*install.* spim.man .*$::" \ + -e "s:tail -2:tail -n2:" \ + Makefile + + emake CC="$(tc-getCC)" || die + + if use X ; then + cd "${S}/xspim" + + ./Configure || die "Configure Failed!" + + xmkmf || die + + sed -i \ + -e 's:@make:@$(MAKE):' \ + -e "s:\(BIN_DIR = \).*$:\1/usr/bin:" \ + -e "s:\(MAN_DIR = \).*$:\1/usr/share/man:" \ + -e "s:\(EXCEPTION_DIR = \).*$:\1/var/lib/spim:" \ + Makefile + + emake CC="$(tc-getCC)" -j1 xspim || die + fi +} + +src_test() { + cd "${S}/spim" + make test || die "Failed to pass tests!" +} + +src_install() { + dodir /usr/bin + dodir /usr/share/man + dodir /var/lib/spim + + cd "${S}/spim" + make install DESTDIR="${D}" || die "Unable to install spim" + + if use X ; then + cd "${S}/xspim" + make DESTDIR="${D}" install || die "Unable to install xspim" + fi + + cd "${S}/Documentation" + doman spim.1 + use X && doman xspim.1 + + dohtml SPIM.html + dodoc BLURB + + cd "${S}" + dodoc README VERSION ChangeLog +} |