1 |
commit: 06a787e8e2b0da98bebe6d5bb14a3e9a3d5f24b5 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 7 16:55:28 2017 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 7 16:55:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a787e8 |
7 |
|
8 |
app-emulation/xtrs: Remove old. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
app-emulation/xtrs/xtrs-4.9d-r3.ebuild | 69 ---------------------------------- |
13 |
1 file changed, 69 deletions(-) |
14 |
|
15 |
diff --git a/app-emulation/xtrs/xtrs-4.9d-r3.ebuild b/app-emulation/xtrs/xtrs-4.9d-r3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 1e5da8a8aa7..00000000000 |
18 |
--- a/app-emulation/xtrs/xtrs-4.9d-r3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,69 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-inherit flag-o-matic toolchain-funcs readme.gentoo |
27 |
- |
28 |
-DESCRIPTION="Radio Shack TRS-80 emulator" |
29 |
-HOMEPAGE="http://www.tim-mann.org/xtrs.html" |
30 |
-SRC_URI="http://www.tim-mann.org/trs80/${P}.tar.gz |
31 |
- ls-dos? ( |
32 |
- http://www.tim-mann.org/trs80/ld4-631.zip |
33 |
- https://dev.gentoo.org/~ulm/distfiles/ld4-631l.xd3 |
34 |
- )" |
35 |
- |
36 |
-LICENSE="xtrs ls-dos? ( freedist )" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="amd64 ppc x86 ~x86-fbsd" |
39 |
-IUSE="ls-dos" |
40 |
-RESTRICT="ls-dos? ( bindist )" |
41 |
- |
42 |
-RDEPEND="sys-libs/ncurses:0 |
43 |
- sys-libs/readline:0 |
44 |
- >=x11-libs/libX11-1.0.0" |
45 |
-DEPEND="${RDEPEND} |
46 |
- ls-dos? ( app-arch/unzip dev-util/xdelta:3 )" |
47 |
- |
48 |
-src_prepare() { |
49 |
- sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die |
50 |
- if use ls-dos; then |
51 |
- cd "${WORKDIR}" || die |
52 |
- xdelta3 -d -s ld4-631.dsk "${DISTDIR}"/ld4-631l.xd3 out.dsk || die |
53 |
- mv out.dsk ld4-631.dsk || die |
54 |
- fi |
55 |
-} |
56 |
- |
57 |
-src_compile() { |
58 |
- use ppc && append-flags -Dbig_endian |
59 |
- emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}" |
60 |
-} |
61 |
- |
62 |
-src_install() { |
63 |
- dodir /usr/bin /usr/share/xtrs/disks /usr/share/man/man1 |
64 |
- emake PREFIX="${D}"/usr install |
65 |
- |
66 |
- insopts -m0444 |
67 |
- insinto /usr/share/xtrs/disks |
68 |
- doins cpmutil.dsk utility.dsk |
69 |
- |
70 |
- if use ls-dos; then |
71 |
- doins "${WORKDIR}"/ld4-631.dsk |
72 |
- dosym disks/ld4-631.dsk /usr/share/xtrs/disk4p-0 |
73 |
- dosym disks/utility.dsk /usr/share/xtrs/disk4p-1 |
74 |
- fi |
75 |
- |
76 |
- dodoc ChangeLog README xtrsrom4p.README cpmutil.html dskspec.html |
77 |
- |
78 |
- DOC_CONTENTS="For copyright reasons, xtrs does not include actual ROM |
79 |
- images. Because of this, unless you supply your own ROM, xtrs will |
80 |
- not function in any mode except 'Model 4p' mode (a minimal free ROM |
81 |
- is included for this), which can be run like this: |
82 |
- \n\nxtrs -model 4p -diskdir /usr/share/xtrs |
83 |
- \n\nIf you already own a copy of the ROM software (e.g., if you have |
84 |
- a TRS-80 with this ROM), then you can make yourself a copy of this |
85 |
- for use with xtrs, using utilities available on the web. To load |
86 |
- your own ROM, specify the '-romfile' option, or the 'Xtrs.romfile' |
87 |
- X resource. ROM files can be in Intel hex or binary format." |
88 |
- readme.gentoo_create_doc |
89 |
-} |