From: | "Ricardo Mendoza (ricmm)" <ricmm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emulation/spim: spim-7.4.ebuild ChangeLog |
Date: | Tue, 24 Mar 2009 03:02:19 |
Message-Id: | E1Llwu8-0006Xf-U0@stork.gentoo.org |
1 | ricmm 09/03/24 03:02:16 |
2 | |
3 | Modified: ChangeLog |
4 | Added: spim-7.4.ebuild |
5 | Log: |
6 | Version bump. Released 22-01-2009. Several fixes to the code. |
7 | (Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.47 app-emulation/spim/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/spim/ChangeLog?rev=1.47&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/spim/ChangeLog?rev=1.47&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/spim/ChangeLog?r1=1.46&r2=1.47 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v |
19 | retrieving revision 1.46 |
20 | retrieving revision 1.47 |
21 | diff -u -r1.46 -r1.47 |
22 | --- ChangeLog 23 Mar 2009 13:08:21 -0000 1.46 |
23 | +++ ChangeLog 24 Mar 2009 03:02:16 -0000 1.47 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for app-emulation/spim |
26 | # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.46 2009/03/23 13:08:21 ricmm Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/ChangeLog,v 1.47 2009/03/24 03:02:16 ricmm Exp $ |
29 | + |
30 | +*spim-7.4 (24 Mar 2009) |
31 | + |
32 | + 24 Mar 2009; <ricmm@g.o> +spim-7.4.ebuild: |
33 | + Version bump. Released 22-01-2009. Several fixes to the code. |
34 | |
35 | 23 Mar 2009; <ricmm@g.o> metadata.xml: |
36 | Adding myself to metadata. |
37 | |
38 | |
39 | |
40 | 1.1 app-emulation/spim/spim-7.4.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/spim/spim-7.4.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/spim/spim-7.4.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: spim-7.4.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2009 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/app-emulation/spim/spim-7.4.ebuild,v 1.1 2009/03/24 03:02:16 ricmm Exp $ |
50 | |
51 | inherit eutils toolchain-funcs |
52 | |
53 | DESCRIPTION="MIPS Simulator" |
54 | HOMEPAGE="http://www.cs.wisc.edu/~larus/spim.html" |
55 | SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/${P}.tar.gz" |
56 | |
57 | LICENSE="as-is" |
58 | SLOT="0" |
59 | KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
60 | IUSE="X" |
61 | RESTRICT="strip" |
62 | RDEPEND="X? ( x11-libs/libXaw |
63 | x11-libs/libXp )" |
64 | DEPEND="${RDEPEND} |
65 | X? ( x11-misc/imake |
66 | x11-proto/xproto ) |
67 | >=sys-apps/sed-4 |
68 | sys-devel/bison" |
69 | |
70 | src_unpack() { |
71 | unpack ${A} |
72 | cd "${S}" |
73 | |
74 | # Fix documentation files |
75 | cd "${S}/Documentation" |
76 | mv spim.man spim.1 |
77 | mv xspim.man xspim.1 |
78 | } |
79 | |
80 | src_compile() { |
81 | cd "${S}/spim" |
82 | |
83 | ./Configure || die "Configure Failed!" |
84 | |
85 | sed -i \ |
86 | -e 's:@make:@$(MAKE):' \ |
87 | -e 's:\(BIN_DIR = \).*$:\1\$(DESTDIR)/usr/bin:' \ |
88 | -e 's:\(MAN_DIR = \).*$:\1\$(DESTDIR)/usr/share/man:' \ |
89 | -e 's:\(EXCEPTION_DIR = \).*$:\1$(DESTDIR)/var/lib/spim:' \ |
90 | -e 's:\(^\W*install.*\) exceptions.s \(.*$\):\1 \$(CPU_DIR)/exceptions.s \2:' \ |
91 | -e "s:^\W*install.* spim.man .*$::" \ |
92 | -e "s:tail -2:tail -n2:" \ |
93 | Makefile |
94 | |
95 | emake CC="$(tc-getCC)" || die |
96 | |
97 | if use X ; then |
98 | cd "${S}/xspim" |
99 | |
100 | ./Configure || die "Configure Failed!" |
101 | |
102 | xmkmf || die |
103 | |
104 | sed -i \ |
105 | -e 's:@make:@$(MAKE):' \ |
106 | -e "s:\(BIN_DIR = \).*$:\1/usr/bin:" \ |
107 | -e "s:\(MAN_DIR = \).*$:\1/usr/share/man:" \ |
108 | -e "s:\(EXCEPTION_DIR = \).*$:\1/var/lib/spim:" \ |
109 | Makefile |
110 | |
111 | emake CC="$(tc-getCC)" -j1 xspim || die |
112 | fi |
113 | } |
114 | |
115 | src_test() { |
116 | cd "${S}/spim" |
117 | make test || die "Failed to pass tests!" |
118 | } |
119 | |
120 | src_install() { |
121 | dodir /usr/bin |
122 | dodir /usr/share/man |
123 | dodir /var/lib/spim |
124 | |
125 | cd "${S}/spim" |
126 | make install DESTDIR="${D}" || die "Unable to install spim" |
127 | |
128 | if use X ; then |
129 | cd "${S}/xspim" |
130 | make DESTDIR="${D}" install || die "Unable to install xspim" |
131 | fi |
132 | |
133 | cd "${S}/Documentation" |
134 | doman spim.1 |
135 | use X && doman xspim.1 |
136 | |
137 | dohtml SPIM.html |
138 | dodoc BLURB |
139 | |
140 | cd "${S}" |
141 | dodoc README VERSION ChangeLog |
142 | } |