1 |
dev-zero 09/03/02 08:58:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xerces-c-3.0.1.ebuild |
5 |
Log: |
6 |
Version bump (fixes bug #253742 as well). |
7 |
(Portage version: 2.1.6.7/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.79 dev-libs/xerces-c/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/ChangeLog?rev=1.79&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/ChangeLog?rev=1.79&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/ChangeLog?r1=1.78&r2=1.79 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v |
19 |
retrieving revision 1.78 |
20 |
retrieving revision 1.79 |
21 |
diff -u -r1.78 -r1.79 |
22 |
--- ChangeLog 5 Jan 2009 21:43:57 -0000 1.78 |
23 |
+++ ChangeLog 2 Mar 2009 08:58:57 -0000 1.79 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-libs/xerces-c |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v 1.78 2009/01/05 21:43:57 maekke Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v 1.79 2009/03/02 08:58:57 dev-zero Exp $ |
29 |
+ |
30 |
+*xerces-c-3.0.1 (02 Mar 2009) |
31 |
+ |
32 |
+ 02 Mar 2009; Tiziano Müller <dev-zero@g.o> +xerces-c-3.0.1.ebuild: |
33 |
+ Version bump (fixes bug #253742 as well). |
34 |
|
35 |
05 Jan 2009; Markus Meier <maekke@g.o> metadata.xml: |
36 |
drop local icu USE-flag description, as it's global now |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-libs/xerces-c/xerces-c-3.0.1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/xerces-c-3.0.1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/xerces-c-3.0.1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: xerces-c-3.0.1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/xerces-c-3.0.1.ebuild,v 1.1 2009/03/02 08:58:57 dev-zero Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
|
53 |
inherit eutils |
54 |
|
55 |
DESCRIPTION="A validating XML parser written in a portable subset of C++." |
56 |
HOMEPAGE="http://xerces.apache.org/xerces-c/" |
57 |
SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.gz" |
58 |
LICENSE="Apache-2.0" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
61 |
IUSE="curl debug doc iconv icu libwww threads elibc_Darwin elibc_FreeBSD" |
62 |
|
63 |
RDEPEND="icu? ( dev-libs/icu ) |
64 |
curl? ( net-misc/curl ) |
65 |
libwww? ( net-libs/libwww ) |
66 |
virtual/libiconv" |
67 |
DEPEND="${RDEPEND} |
68 |
doc? ( app-doc/doxygen )" |
69 |
|
70 |
pkg_setup() { |
71 |
export ICUROOT="/usr" |
72 |
|
73 |
if use iconv && use icu ; then |
74 |
ewarn "This package can use iconv or icu for loading messages" |
75 |
ewarn "and transcoding, but not both. ICU will precede." |
76 |
fi |
77 |
} |
78 |
|
79 |
src_prepare() { |
80 |
sed -i \ |
81 |
-e 's|$(prefix)/msg|$(DESTDIR)/$(prefix)/share/xerces-c/msg|' \ |
82 |
src/xercesc/util/MsgLoaders/MsgCatalog/Makefile.in || die "sed failed" |
83 |
} |
84 |
|
85 |
src_configure() { |
86 |
local mloader="inmemory" |
87 |
use iconv && mloader="iconv" |
88 |
use icu && mloader="icu" |
89 |
|
90 |
local transcoder="gnuiconv" |
91 |
use elibc_FreeBSD && transcoder="iconv" |
92 |
use elibc_Darwin && transcoder="macosunicodeconverter" |
93 |
use icu && transcoder="icu" |
94 |
|
95 |
# 'cfurl' is only available on OSX and 'socket' isn't supposed to work. |
96 |
# But the docs aren't clear about it, so we would need some testing... |
97 |
local netaccessor="socket" |
98 |
use elibc_Darwin && netaccessor="cfurl" |
99 |
use libwww && netaccessor="libwww" |
100 |
use curl && netaccessor="curl" |
101 |
|
102 |
econf \ |
103 |
$(use_enable debug) \ |
104 |
$(use_enable threads) \ |
105 |
--enable-msgloader-${mloader} \ |
106 |
--enable-netaccessor-${netaccessor} \ |
107 |
--enable-transcoder-${transcoder} |
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
default |
112 |
|
113 |
if use doc ; then |
114 |
cd "${S}/doc" |
115 |
doxygen || die "making docs failed" |
116 |
fi |
117 |
} |
118 |
|
119 |
src_install () { |
120 |
emake DESTDIR="${D}" install || die "emake failed" |
121 |
|
122 |
cd "${S}" |
123 |
doenvd "${FILESDIR}/50xerces-c" |
124 |
|
125 |
if use doc; then |
126 |
insinto /usr/share/doc/${PF} |
127 |
rm -rf samples/Makefile* samples/runConfigure samples/src/*/Makefile* samples/.libs |
128 |
doins -r samples |
129 |
dohtml -r doc/html/* |
130 |
fi |
131 |
|
132 |
dodoc CREDITS KEYS NOTICE README version.incl |
133 |
} |