1 |
radhermit 11/09/26 22:16:18 |
2 |
|
3 |
Modified: ChangeLog libnxml-0.18.3.ebuild |
4 |
Log: |
5 |
Update to EAPI 4 and add static-libs use flag. |
6 |
|
7 |
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.16 net-libs/libnxml/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnxml/ChangeLog?rev=1.16&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnxml/ChangeLog?rev=1.16&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnxml/ChangeLog?r1=1.15&r2=1.16 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/libnxml/ChangeLog,v |
19 |
retrieving revision 1.15 |
20 |
retrieving revision 1.16 |
21 |
diff -u -r1.15 -r1.16 |
22 |
--- ChangeLog 26 Sep 2011 22:12:40 -0000 1.15 |
23 |
+++ ChangeLog 26 Sep 2011 22:16:18 -0000 1.16 |
24 |
@@ -1,6 +1,9 @@ |
25 |
# ChangeLog for net-libs/libnxml |
26 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnxml/ChangeLog,v 1.15 2011/09/26 22:12:40 radhermit Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnxml/ChangeLog,v 1.16 2011/09/26 22:16:18 radhermit Exp $ |
29 |
+ |
30 |
+ 26 Sep 2011; Tim Harder <radhermit@g.o> libnxml-0.18.3.ebuild: |
31 |
+ Update to EAPI 4 and add static-libs use flag. |
32 |
|
33 |
26 Sep 2011; Tim Harder <radhermit@g.o> libnxml-0.17.1.ebuild, |
34 |
libnxml-0.18.0.ebuild, libnxml-0.18.2.ebuild, libnxml-0.18.3.ebuild: |
35 |
|
36 |
|
37 |
|
38 |
1.3 net-libs/libnxml/libnxml-0.18.3.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnxml/libnxml-0.18.3.ebuild?rev=1.3&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnxml/libnxml-0.18.3.ebuild?rev=1.3&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libnxml/libnxml-0.18.3.ebuild?r1=1.2&r2=1.3 |
43 |
|
44 |
Index: libnxml-0.18.3.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/libnxml/libnxml-0.18.3.ebuild,v |
47 |
retrieving revision 1.2 |
48 |
retrieving revision 1.3 |
49 |
diff -u -r1.2 -r1.3 |
50 |
--- libnxml-0.18.3.ebuild 26 Sep 2011 22:12:40 -0000 1.2 |
51 |
+++ libnxml-0.18.3.ebuild 26 Sep 2011 22:16:18 -0000 1.3 |
52 |
@@ -1,8 +1,8 @@ |
53 |
# Copyright 1999-2011 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libnxml/libnxml-0.18.3.ebuild,v 1.2 2011/09/26 22:12:40 radhermit Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnxml/libnxml-0.18.3.ebuild,v 1.3 2011/09/26 22:16:18 radhermit Exp $ |
57 |
|
58 |
-EAPI="2" |
59 |
+EAPI="4" |
60 |
|
61 |
DESCRIPTION="A C-library for parsing and writing XML 1.0/1.1 files or streams" |
62 |
HOMEPAGE="http://www.autistici.org/bakunin/libnxml/doc/" |
63 |
@@ -11,14 +11,19 @@ |
64 |
LICENSE="LGPL-2.1" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
67 |
-IUSE="doc examples" |
68 |
+IUSE="doc examples static-libs" |
69 |
|
70 |
RDEPEND="net-misc/curl" |
71 |
DEPEND="${RDEPEND} |
72 |
doc? ( app-doc/doxygen )" |
73 |
|
74 |
+src_configure() { |
75 |
+ econf \ |
76 |
+ $(use_enable static-libs static) |
77 |
+} |
78 |
+ |
79 |
src_compile() { |
80 |
- emake || die "make failed" |
81 |
+ emake |
82 |
|
83 |
if use doc; then |
84 |
ebegin "Creating documentation" |
85 |
@@ -28,8 +33,7 @@ |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
- emake DESTDIR="${D}" install || die "make install failed" |
90 |
- dodoc AUTHORS ChangeLog NEWS README |
91 |
+ default |
92 |
|
93 |
if use doc; then |
94 |
dohtml doc/html/* |
95 |
@@ -39,4 +43,6 @@ |
96 |
insinto /usr/share/doc/${PF}/test |
97 |
doins test/*.c |
98 |
fi |
99 |
+ |
100 |
+ find "${D}" -name '*.la' -exec rm -f {} + |
101 |
} |