1 |
commit: 7f5daadd16a00dc0e6cad8263d38e872c7136881 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 9 18:49:42 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 18:49:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f5daadd |
7 |
|
8 |
net-libs/libmrss: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.88, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
net-libs/libmrss/libmrss-0.19.2.ebuild | 31 ++++++++++++++++--------------- |
14 |
1 file changed, 16 insertions(+), 15 deletions(-) |
15 |
|
16 |
diff --git a/net-libs/libmrss/libmrss-0.19.2.ebuild b/net-libs/libmrss/libmrss-0.19.2.ebuild |
17 |
index e57dc41abca..f4ce0a9497b 100644 |
18 |
--- a/net-libs/libmrss/libmrss-0.19.2.ebuild |
19 |
+++ b/net-libs/libmrss/libmrss-0.19.2.ebuild |
20 |
@@ -1,7 +1,7 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI="4" |
26 |
+EAPI=7 |
27 |
|
28 |
DESCRIPTION="A C-library for parsing and writing RSS 0.91/0.92/1.0/2.0 files or streams" |
29 |
HOMEPAGE="http://www.autistici.org/bakunin/libmrss/doc/" |
30 |
@@ -10,27 +10,31 @@ SRC_URI="http://www.autistici.org/bakunin/${PN}/${P}.tar.gz" |
31 |
LICENSE="LGPL-2.1" |
32 |
SLOT="0" |
33 |
KEYWORDS="amd64 ~arm ~mips ppc x86" |
34 |
-IUSE="doc examples static-libs" |
35 |
+IUSE="doc examples" |
36 |
|
37 |
-RDEPEND=">=net-libs/libnxml-0.18.0 |
38 |
+RDEPEND=" |
39 |
+ net-libs/libnxml |
40 |
net-misc/curl" |
41 |
-DEPEND="${RDEPEND} |
42 |
+DEPEND="${RDEPEND}" |
43 |
+BDEPEND=" |
44 |
virtual/pkgconfig |
45 |
doc? ( app-doc/doxygen )" |
46 |
|
47 |
# TODO: php-bindings |
48 |
|
49 |
src_configure() { |
50 |
- econf \ |
51 |
- $(use_enable static-libs static) |
52 |
+ econf --disable-static |
53 |
} |
54 |
|
55 |
src_compile() { |
56 |
- emake |
57 |
+ default |
58 |
|
59 |
if use doc; then |
60 |
ebegin "Creating documentation" |
61 |
doxygen doxy.conf || die "generating docs failed" |
62 |
+ # clean out doxygen gunk |
63 |
+ rm doc/html/*.{md5,map} || die |
64 |
+ HTML_DOCS=( doc/html/. ) |
65 |
eend 0 |
66 |
fi |
67 |
} |
68 |
@@ -38,14 +42,11 @@ src_compile() { |
69 |
src_install() { |
70 |
default |
71 |
|
72 |
- if use doc; then |
73 |
- dohtml doc/html/* |
74 |
- fi |
75 |
- |
76 |
if use examples; then |
77 |
- insinto /usr/share/doc/${PF}/test |
78 |
- doins test/*.c |
79 |
+ docinto test |
80 |
+ dodoc test/*.c |
81 |
fi |
82 |
|
83 |
- find "${D}" -name '*.la' -exec rm -f {} + |
84 |
+ # no static archives |
85 |
+ find "${D}" -name '*.la' -delete || die |
86 |
} |