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