1 |
commit: 4d4f507034963974f35a339175819759305f0aed |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 11 04:07:16 2019 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 11 04:07:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d4f5070 |
7 |
|
8 |
dev-lang/tcc: drop old ebuilds |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
12 |
|
13 |
dev-lang/tcc/tcc-0.9.26-r1.ebuild | 66 --------------------------------------- |
14 |
dev-lang/tcc/tcc-0.9.26-r2.ebuild | 63 ------------------------------------- |
15 |
2 files changed, 129 deletions(-) |
16 |
|
17 |
diff --git a/dev-lang/tcc/tcc-0.9.26-r1.ebuild b/dev-lang/tcc/tcc-0.9.26-r1.ebuild |
18 |
deleted file mode 100644 |
19 |
index 07171a4fca7..00000000000 |
20 |
--- a/dev-lang/tcc/tcc-0.9.26-r1.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,66 +0,0 @@ |
23 |
-# Copyright 1999-2018 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI="5" |
27 |
- |
28 |
-inherit eutils toolchain-funcs |
29 |
- |
30 |
-DESCRIPTION="A very small C compiler for ix86/amd64" |
31 |
-HOMEPAGE="https://bellard.org/tcc/" |
32 |
-SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2" |
33 |
- |
34 |
-LICENSE="LGPL-2.1" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~amd64 ~x86" |
37 |
- |
38 |
-DEPEND="dev-lang/perl" # doc generation |
39 |
-# Both tendra and tinycc install /usr/bin/tcc |
40 |
-RDEPEND="!dev-lang/tendra" |
41 |
-IUSE="test" |
42 |
- |
43 |
-src_prepare() { |
44 |
- # Don't strip |
45 |
- sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die |
46 |
- |
47 |
- # Fix examples |
48 |
- sed -i -e '1{ |
49 |
- i#! /usr/bin/tcc -run |
50 |
- /^#!/d |
51 |
- }' examples/ex*.c || die |
52 |
- sed -i -e '1s/$/ -lX11/' examples/ex4.c || die |
53 |
- |
54 |
- # fix texi2html invocation |
55 |
- sed -i -e 's/-number//' Makefile || die |
56 |
- sed -i -e 's/--sections//' Makefile || die |
57 |
-} |
58 |
- |
59 |
-src_configure() { |
60 |
- use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise |
61 |
- # better fixes welcome, it feels wrong to hack the env like this |
62 |
- # not autotools, so call configure directly |
63 |
- ./configure --cc="$(tc-getCC)" \ |
64 |
- --bindir=/usr/bin \ |
65 |
- --libdir=/usr/$(get_libdir) \ |
66 |
- --tccdir=tcc \ |
67 |
- --includedir=/usr/include \ |
68 |
- --docdir=/usr/share/doc/${PF} \ |
69 |
- --mandir=/usr/share/man |
70 |
-} |
71 |
- |
72 |
-src_compile() { |
73 |
- emake AR="$(tc-getAR)" |
74 |
-} |
75 |
- |
76 |
-src_install() { |
77 |
- emake DESTDIR="${D}" install |
78 |
- |
79 |
- dodoc Changelog README TODO VERSION |
80 |
- #dohtml tcc-doc.html |
81 |
- exeinto /usr/share/doc/${PF}/examples |
82 |
- doexe examples/ex*.c |
83 |
-} |
84 |
- |
85 |
-src_test() { |
86 |
- # this is using tcc bits that don't know as-needed etc. |
87 |
- TCCFLAGS="" emake test |
88 |
-} |
89 |
|
90 |
diff --git a/dev-lang/tcc/tcc-0.9.26-r2.ebuild b/dev-lang/tcc/tcc-0.9.26-r2.ebuild |
91 |
deleted file mode 100644 |
92 |
index 757cc7d58e0..00000000000 |
93 |
--- a/dev-lang/tcc/tcc-0.9.26-r2.ebuild |
94 |
+++ /dev/null |
95 |
@@ -1,63 +0,0 @@ |
96 |
-# Copyright 1999-2018 Gentoo Foundation |
97 |
-# Distributed under the terms of the GNU General Public License v2 |
98 |
- |
99 |
-EAPI="5" |
100 |
- |
101 |
-inherit eutils toolchain-funcs |
102 |
- |
103 |
-DESCRIPTION="A very small C compiler for ix86/amd64" |
104 |
-HOMEPAGE="https://bellard.org/tcc/" |
105 |
-SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2" |
106 |
- |
107 |
-LICENSE="LGPL-2.1" |
108 |
-SLOT="0" |
109 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux" |
110 |
- |
111 |
-DEPEND="dev-lang/perl" # doc generation |
112 |
-# Both tendra and tinycc install /usr/bin/tcc |
113 |
-RDEPEND="!dev-lang/tendra" |
114 |
-IUSE="test" |
115 |
- |
116 |
-src_prepare() { |
117 |
- # Don't strip |
118 |
- sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die |
119 |
- |
120 |
- # Fix examples |
121 |
- sed -i -e '1{ |
122 |
- i#! /usr/bin/tcc -run |
123 |
- /^#!/d |
124 |
- }' examples/ex*.c || die |
125 |
- sed -i -e '1s/$/ -lX11/' examples/ex4.c || die |
126 |
- |
127 |
- # fix texi2html invocation |
128 |
- sed -i -e 's/-number//' Makefile || die |
129 |
- sed -i -e 's/--sections//' Makefile || die |
130 |
-} |
131 |
- |
132 |
-src_configure() { |
133 |
- use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise |
134 |
- # better fixes welcome, it feels wrong to hack the env like this |
135 |
- # not autotools, so call configure directly |
136 |
- ./configure --cc="$(tc-getCC)" \ |
137 |
- --prefix="${EPREFIX}/usr" \ |
138 |
- --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
139 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" |
140 |
-} |
141 |
- |
142 |
-src_compile() { |
143 |
- emake AR="$(tc-getAR)" |
144 |
-} |
145 |
- |
146 |
-src_install() { |
147 |
- emake DESTDIR="${D}" install |
148 |
- |
149 |
- dodoc Changelog README TODO VERSION |
150 |
- #dohtml tcc-doc.html |
151 |
- exeinto /usr/share/doc/${PF}/examples |
152 |
- doexe examples/ex*.c |
153 |
-} |
154 |
- |
155 |
-src_test() { |
156 |
- # this is using tcc bits that don't know as-needed etc. |
157 |
- TCCFLAGS="" emake test |
158 |
-} |