1 |
commit: 946b1b30ffb96ce7430f23f535b213255a16c9a0 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 1 23:39:39 2018 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 1 23:39:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=946b1b30 |
7 |
|
8 |
app-emulation/spim: Drop old |
9 |
|
10 |
Closes: https://bugs.gentoo.org/649142 |
11 |
|
12 |
app-emulation/spim/spim-8.0-r2.ebuild | 77 ----------------------------------- |
13 |
1 file changed, 77 deletions(-) |
14 |
|
15 |
diff --git a/app-emulation/spim/spim-8.0-r2.ebuild b/app-emulation/spim/spim-8.0-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 6de0890b3f0..00000000000 |
18 |
--- a/app-emulation/spim/spim-8.0-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,77 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-inherit toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="MIPS Simulator" |
29 |
-HOMEPAGE="http://spimsimulator.sourceforge.net/" |
30 |
-SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="BSD" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
35 |
-IUSE="doc X" |
36 |
- |
37 |
-RDEPEND="X? ( media-fonts/font-adobe-100dpi |
38 |
- x11-libs/libXaw |
39 |
- x11-libs/libXp )" |
40 |
-DEPEND="${RDEPEND} |
41 |
- X? ( x11-misc/imake |
42 |
- x11-proto/xproto ) |
43 |
- >=sys-apps/sed-4 |
44 |
- sys-devel/bison" |
45 |
-# test hangs forever, disabling it |
46 |
-RESTRICT="test" |
47 |
- |
48 |
-src_prepare() { |
49 |
- # fix bugs 240005 and 243588 |
50 |
- eapply "${FILESDIR}/${P}-r1-respect_env.patch" |
51 |
- |
52 |
- #fix bug 330389 |
53 |
- sed -i -e 's:-12-\*-75-:-14-\*-100-:g' xspim/xspim.c || die |
54 |
- |
55 |
- default |
56 |
-} |
57 |
- |
58 |
-src_configure() { |
59 |
- tc-export CC |
60 |
- emake -C spim configuration |
61 |
- |
62 |
- if use X; then |
63 |
- emake -C xspim configuration |
64 |
- fi |
65 |
-} |
66 |
- |
67 |
-src_compile() { |
68 |
- emake DESTDIR="${EPREFIX}" -C spim |
69 |
- |
70 |
- if use X; then |
71 |
- emake DESTDIR="${EPREFIX}" EXCEPTION_DIR=/var/lib/spim \ |
72 |
- -C xspim -j1 xspim |
73 |
- fi |
74 |
-} |
75 |
- |
76 |
-src_install() { |
77 |
- emake DESTDIR="${ED}" -C spim install |
78 |
- newman Documentation/spim.man spim.1 |
79 |
- |
80 |
- if use X; then |
81 |
- emake DESTDIR="${ED}" -C xspim install |
82 |
- newman Documentation/xspim.man xspim.1 |
83 |
- fi |
84 |
- |
85 |
- doicon "${FILESDIR}"/xspim.svg |
86 |
- make_desktop_entry xspim xSPIM xspim "ComputerScience;Science;Education" |
87 |
- |
88 |
- dodoc Documentation/SPIM.html |
89 |
- dodoc ChangeLog Documentation/BLURB README VERSION |
90 |
- if use doc ; then |
91 |
- dodoc Documentation/TeX/{cycle,spim}.ps |
92 |
- fi |
93 |
-} |
94 |
- |
95 |
-src_test() { |
96 |
- emake -C spim test |
97 |
-} |