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