1 |
commit: 3e1870120167b91006526f88881f401a91f8f014 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 29 22:02:30 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 29 22:13:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e187012 |
7 |
|
8 |
app-emulation/simh: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
app-emulation/simh/Manifest | 1 - |
14 |
app-emulation/simh/simh-3.11.0.ebuild | 62 ----------------------------------- |
15 |
2 files changed, 63 deletions(-) |
16 |
|
17 |
diff --git a/app-emulation/simh/Manifest b/app-emulation/simh/Manifest |
18 |
index 7be51644a27..1673f7380dc 100644 |
19 |
--- a/app-emulation/simh/Manifest |
20 |
+++ b/app-emulation/simh/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
DIST simh-3.11.1.tar.gz 2576391 BLAKE2B bebaba75d4264c47202cc0daca2023c03d2e87722798f1ab37c9e3b2cec0b80cd180fccc0077347b2cb5255d26e1ce35f99a908deaf252c1e60e22e0a381e66d SHA512 7c2f81a64d3016b9a44409fc336c804c0da836317745d47594cc48c64cb57dc8f22084d9086e3f86868ec485ee56ac63301f350cee6d275e705b7c5fc82875db |
23 |
-DIST simhv311-0.zip 2790607 BLAKE2B f9399977093f07d7f58067ed40e22f60e43228bbb1e0fdaa6b04408956962d9ea14b6dc57d758b819cee59f3bade9505a6802d42804df49622990402c0f22600 SHA512 e5fb6915c050e7402363cd9c1f99feb00874c3693905067ce901ffa86fc29a0cd2648684f111216b09a3c847f75812e2db2e2f2fa9f9d0db5dc932d53ec832fa |
24 |
|
25 |
diff --git a/app-emulation/simh/simh-3.11.0.ebuild b/app-emulation/simh/simh-3.11.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index 350a2779b27..00000000000 |
28 |
--- a/app-emulation/simh/simh-3.11.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,62 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit toolchain-funcs |
37 |
- |
38 |
-MY_P="${PN}v$(ver_rs 1 '' 2 '-')" # 'a.b.c' -> 'ab-c' |
39 |
-DESCRIPTION="a simulator for historical computers such as Vax, PDP-11 etc.)" |
40 |
-HOMEPAGE="http://simh.trailing-edge.com/" |
41 |
-SRC_URI="http://simh.trailing-edge.com/sources/${MY_P}.zip" |
42 |
- |
43 |
-LICENSE="MIT" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
46 |
-IUSE="" |
47 |
- |
48 |
-RDEPEND="net-libs/libpcap" |
49 |
-DEPEND="${RDEPEND} |
50 |
- app-arch/unzip" |
51 |
- |
52 |
-S=${WORKDIR}/sim |
53 |
- |
54 |
-PATCHES=( |
55 |
- "${FILESDIR}"/${PN}-3.11.0-respect-FLAGS.patch |
56 |
- "${FILESDIR}"/${PN}-3.11.0-fix-mkdir-race.patch |
57 |
- "${FILESDIR}"/${PN}-3.11.0-fcommon.patch |
58 |
-) |
59 |
- |
60 |
-src_prepare() { |
61 |
- default |
62 |
- |
63 |
- # fix linking on Darwin |
64 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
65 |
- sed -e 's/-lrt//g' \ |
66 |
- -i makefile || die |
67 |
- fi |
68 |
-} |
69 |
- |
70 |
-src_compile() { |
71 |
- export GCC="$(tc-getCC)" |
72 |
- export LDFLAGS_O="${LDFLAGS}" |
73 |
- export CFLAGS_O="${CFLAGS}" |
74 |
- |
75 |
- local my_makeopts="" |
76 |
- if tc-is-gcc && ver_test $(gcc-version) -lt 4.6 ; then |
77 |
- my_makeopts+=" NO_LTO=1" |
78 |
- fi |
79 |
- |
80 |
- emake ${my_makeopts} |
81 |
-} |
82 |
- |
83 |
-src_install() { |
84 |
- for BINFILE in BIN/* ; do |
85 |
- newbin ${BINFILE} "simh-$(basename ${BINFILE})" |
86 |
- done |
87 |
- |
88 |
- insinto /usr/share/simh |
89 |
- doins VAX/*.bin |
90 |
- |
91 |
- dodoc *.txt */*.txt |
92 |
-} |