1 |
commit: 3ffc1e349e80ee0aa821333a9e20a9336ba1a19d |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 2 20:06:01 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 2 20:12:34 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ffc1e34 |
7 |
|
8 |
dev-util/xmlindent: EAPI 6 bump. |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-util/xmlindent/xmlindent-0.2.17-r2.ebuild | 36 +++++++++++++++++++++++++++ |
13 |
1 file changed, 36 insertions(+) |
14 |
|
15 |
diff --git a/dev-util/xmlindent/xmlindent-0.2.17-r2.ebuild b/dev-util/xmlindent/xmlindent-0.2.17-r2.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..ddbc655 |
18 |
--- /dev/null |
19 |
+++ b/dev-util/xmlindent/xmlindent-0.2.17-r2.ebuild |
20 |
@@ -0,0 +1,36 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+inherit toolchain-funcs |
28 |
+ |
29 |
+DESCRIPTION="XML stream reformatter written in ANSI C" |
30 |
+HOMEPAGE="http://xmlindent.sourceforge.net/" |
31 |
+SRC_URI="mirror://sourceforge/xmlindent/${P}.tar.gz" |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~x86" |
35 |
+IUSE="" |
36 |
+ |
37 |
+DEPEND="sys-devel/flex" |
38 |
+RDEPEND="" |
39 |
+ |
40 |
+src_prepare() { |
41 |
+ default |
42 |
+ sed -i Makefile \ |
43 |
+ -e 's|gcc|$(CC)|g' \ |
44 |
+ -e 's|-g|$(CFLAGS) $(LDFLAGS) |g' \ |
45 |
+ || die "sed failed" |
46 |
+} |
47 |
+ |
48 |
+src_compile() { |
49 |
+ tc-export CC |
50 |
+ emake |
51 |
+} |
52 |
+ |
53 |
+src_install() { |
54 |
+ dobin "${PN}" |
55 |
+ doman *.1 |
56 |
+} |