Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/xqilla: xqilla-2.3.0.ebuild ChangeLog xqilla-2.2.0.ebuild xqilla-2.2.3.ebuild
Date: Thu, 24 May 2012 20:25:34
Message-Id: 20120524202519.3CBE92004B@flycatcher.gentoo.org
1 dev-zero 12/05/24 20:25:19
2
3 Modified: ChangeLog
4 Added: xqilla-2.3.0.ebuild
5 Removed: xqilla-2.2.0.ebuild xqilla-2.2.3.ebuild
6 Log:
7 Version bump, fix tidy-support, add static-libs USE flag, drop old.
8
9 (Portage version: 2.1.10.56/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.13 dev-libs/xqilla/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/ChangeLog?rev=1.13&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/ChangeLog?rev=1.13&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/ChangeLog?r1=1.12&r2=1.13
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/xqilla/ChangeLog,v
21 retrieving revision 1.12
22 retrieving revision 1.13
23 diff -u -r1.12 -r1.13
24 --- ChangeLog 24 Sep 2011 12:36:27 -0000 1.12
25 +++ ChangeLog 24 May 2012 20:25:19 -0000 1.13
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-libs/xqilla
28 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/ChangeLog,v 1.12 2011/09/24 12:36:27 chainsaw Exp $
30 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/ChangeLog,v 1.13 2012/05/24 20:25:19 dev-zero Exp $
32 +
33 +*xqilla-2.3.0 (24 May 2012)
34 +
35 + 24 May 2012; Tiziano Müller <dev-zero@g.o> +xqilla-2.3.0.ebuild,
36 + -files/2.2.3-xerces-c-3.1.0.patch, -files/xqilla-2.2.0-gcc44.patch,
37 + -xqilla-2.2.0.ebuild, -xqilla-2.2.3.ebuild:
38 + Version bump, fix tidy-support, add static-libs USE flag, drop old.
39
40 24 Sep 2011; Tony Vroon <chainsaw@g.o> xqilla-2.2.4.ebuild,
41 +files/xqilla-2.2.4-gcc46.patch:
42
43
44
45 1.1 dev-libs/xqilla/xqilla-2.3.0.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/xqilla-2.3.0.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/xqilla-2.3.0.ebuild?rev=1.1&content-type=text/plain
49
50 Index: xqilla-2.3.0.ebuild
51 ===================================================================
52 # Copyright 1999-2012 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/xqilla-2.3.0.ebuild,v 1.1 2012/05/24 20:25:19 dev-zero Exp $
55
56 EAPI="4"
57
58 inherit autotools base
59
60 MY_P="XQilla-${PV}"
61
62 DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C++."
63 HOMEPAGE="http://xqilla.sourceforge.net/HomePage"
64 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
65 LICENSE="Apache-2.0 BSD"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="debug doc examples faxpp htmltidy static-libs"
69
70 # XQilla bundles two libraries:
71 # - mapm, heavily patched
72 # - yajl, moderately patched
73 # There's currently no way to unbundle those
74
75 RDEPEND=">=dev-libs/xerces-c-3.1.1
76 faxpp? ( dev-libs/faxpp )
77 htmltidy? ( app-text/htmltidy )"
78 DEPEND="${RDEPEND}
79 doc? ( app-doc/doxygen )"
80
81 PATCHES=(
82 "${FILESDIR}/2.2.4-respect-ldflags-no-rpath.patch"
83 )
84
85 S="${WORKDIR}/${MY_P}"
86
87 src_prepare() {
88 base_src_prepare
89 eautoreconf
90 }
91
92 src_configure() {
93 econf \
94 --with-xerces=/usr \
95 $(use_enable debug) \
96 $(use_with htmltidy tidy /usr) \
97 $(use_with faxpp faxpp /usr) \
98 $(use_enable static-libs static)
99 }
100
101 src_compile() {
102 default
103
104 if use doc; then
105 emake docs || die "emake docs failed"
106 emake devdocs || die "emake devdocs failed"
107 fi
108 }
109
110 src_install () {
111 default
112
113 use static-libs || rm -rf "${D}"/usr/lib*/*.la
114
115 if use doc; then
116 cd docs
117 dohtml -r dev-api dom3-api simple-api
118 fi
119 if use examples ; then
120 insinto /usr/share/doc/${PF}/examples
121 doins -r "${S}"/src/samples/*
122 fi
123 }