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: ChangeLog xqilla-2.2.4.ebuild
Date: Sun, 29 Aug 2010 11:47:21
Message-Id: 20100829114700.C453520051@flycatcher.gentoo.org
1 dev-zero 10/08/29 11:47:00
2
3 Modified: ChangeLog
4 Added: xqilla-2.2.4.ebuild
5 Log:
6 Version bump (bug #319753).
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.11 dev-libs/xqilla/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/ChangeLog?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/ChangeLog?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/ChangeLog?r1=1.10&r2=1.11
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/xqilla/ChangeLog,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- ChangeLog 26 Feb 2010 07:56:47 -0000 1.10
23 +++ ChangeLog 29 Aug 2010 11:47:00 -0000 1.11
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/xqilla
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/ChangeLog,v 1.10 2010/02/26 07:56:47 dev-zero Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/ChangeLog,v 1.11 2010/08/29 11:47:00 dev-zero Exp $
29 +
30 +*xqilla-2.2.4 (29 Aug 2010)
31 +
32 + 29 Aug 2010; Tiziano Müller <dev-zero@g.o>
33 + +files/2.2.4-respect-ldflags-no-rpath.patch, +xqilla-2.2.4.ebuild:
34 + Version bump (bug #319753).
35
36 *xqilla-2.2.3 (26 Feb 2010)
37
38
39
40
41 1.1 dev-libs/xqilla/xqilla-2.2.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/xqilla-2.2.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xqilla/xqilla-2.2.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xqilla-2.2.4.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/xqilla-2.2.4.ebuild,v 1.1 2010/08/29 11:47:00 dev-zero Exp $
51
52 EAPI="2"
53 inherit autotools eutils
54
55 MY_P="XQilla-${PV}"
56
57 DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C++."
58 HOMEPAGE="http://xqilla.sourceforge.net/HomePage"
59 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
60 LICENSE="Apache-2.0 BSD"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="debug doc examples faxpp htmltidy"
64
65 # XQilla bundles two libraries:
66 # - mapm, heavily patched
67 # - yajl, moderately patched
68 # There's currently no way to unbundle those
69
70 RDEPEND=">=dev-libs/xerces-c-3.1.0
71 faxpp? ( dev-libs/faxpp )
72 htmltidy? ( app-text/htmltidy )"
73 DEPEND="${RDEPEND}
74 doc? ( app-doc/doxygen )"
75
76 S="${WORKDIR}/${MY_P}"
77
78 src_prepare() {
79 # respect our LDFLAGS and don't add an rpath for the xerces-c lib
80 # since that is in the default LDPATH anyway and the binaries
81 # may need relinking at install-time because they temporary use
82 # already installed libraries
83 epatch "${FILESDIR}/${PV}-respect-ldflags-no-rpath.patch"
84 eautoreconf
85 }
86
87 src_configure() {
88 econf \
89 --with-xerces=/usr \
90 $(use_enable debug) \
91 $(use_with htmltidy tidy) \
92 $(use_with faxpp faxpp /usr)
93 }
94
95 src_compile() {
96 default
97
98 if use doc; then
99 emake docs || die "emake docs failed"
100 emake devdocs || die "emake devdocs failed"
101 fi
102 }
103
104 src_install () {
105 emake DESTDIR="${D}" install || die "emake docs failed"
106
107 dodoc ChangeLog TODO
108
109 if use doc; then
110 cd docs
111 dohtml -r dev-api dom3-api simple-api
112 fi
113 if use examples ; then
114 insinto /usr/share/doc/${PF}/examples
115 doins -r "${S}"/src/samples/*
116 fi
117 }