1 |
commit: 3b93411d2e401cbd569f2f4390061964652ad0a0 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jun 24 14:53:33 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 6 21:47:55 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b93411d |
7 |
|
8 |
app-text/htmlrecode: EAPI7, improve ebuild |
9 |
|
10 |
app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild | 41 ++++++++++++++++++++++++++ |
11 |
1 file changed, 41 insertions(+) |
12 |
|
13 |
diff --git a/app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild b/app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild |
14 |
new file mode 100644 |
15 |
index 00000000000..4b9258115b9 |
16 |
--- /dev/null |
17 |
+++ b/app-text/htmlrecode/htmlrecode-1.3.1-r1.ebuild |
18 |
@@ -0,0 +1,41 @@ |
19 |
+# Copyright 1999-2018 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+ |
22 |
+EAPI=7 |
23 |
+ |
24 |
+inherit toolchain-funcs |
25 |
+ |
26 |
+DESCRIPTION="Recodes HTML file using a new character set" |
27 |
+HOMEPAGE="https://bisqwit.iki.fi/source/htmlrecode.html" |
28 |
+SRC_URI="https://bisqwit.iki.fi/src/arch/${P}.tar.bz2" |
29 |
+ |
30 |
+KEYWORDS="~amd64 ~ppc ~x86" |
31 |
+LICENSE="GPL-2" |
32 |
+SLOT="0" |
33 |
+IUSE="" |
34 |
+ |
35 |
+PATCHES=( "${FILESDIR}/${P}-ar.patch" ) |
36 |
+ |
37 |
+src_prepare() { |
38 |
+ touch .depend argh/.depend || die |
39 |
+ default |
40 |
+} |
41 |
+ |
42 |
+src_configure() { :; } |
43 |
+ |
44 |
+src_compile() { |
45 |
+ local makeopts=( |
46 |
+ AR="$(tc-getAR)" |
47 |
+ CPPDEBUG= |
48 |
+ CXX="$(tc-getCXX)" |
49 |
+ CXXFLAGS="${CXXFLAGS}" |
50 |
+ LDFLAGS="${LDFLAGS}" |
51 |
+ ) |
52 |
+ emake "${makeopts[@]}" -C argh libargh.a |
53 |
+ emake "${makeopts[@]}" htmlrecode |
54 |
+} |
55 |
+ |
56 |
+src_install() { |
57 |
+ dobin htmlrecode |
58 |
+ dodoc README.html |
59 |
+} |