diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-08-15 08:59:50 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-08-15 08:59:50 +0000 |
commit | 6ef9c6926e5734df7a392426cca9fffa4ac6eb3b (patch) | |
tree | b35e4bc9f5ca27ab450eeca7c621531c2c791eb6 /dev-libs | |
parent | Add wins-ack USE flag and patch (#234583). (diff) | |
download | gentoo-2-6ef9c6926e5734df7a392426cca9fffa4ac6eb3b.tar.gz gentoo-2-6ef9c6926e5734df7a392426cca9fffa4ac6eb3b.tar.bz2 gentoo-2-6ef9c6926e5734df7a392426cca9fffa4ac6eb3b.zip |
Version bump, added live ebuild, added faxpp and htmltidy USE-flags.
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/xqilla/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/xqilla/metadata.xml | 8 | ||||
-rw-r--r-- | dev-libs/xqilla/xqilla-2.1.3.ebuild | 56 | ||||
-rw-r--r-- | dev-libs/xqilla/xqilla-9999.ebuild | 55 |
4 files changed, 126 insertions, 2 deletions
diff --git a/dev-libs/xqilla/ChangeLog b/dev-libs/xqilla/ChangeLog index cc9181ddc263..b1b16054a0f3 100644 --- a/dev-libs/xqilla/ChangeLog +++ b/dev-libs/xqilla/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/xqilla # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/ChangeLog,v 1.1 2008/05/23 06:09:55 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/ChangeLog,v 1.2 2008/08/15 08:59:50 dev-zero Exp $ + +*xqilla-9999 (15 Aug 2008) +*xqilla-2.1.3 (15 Aug 2008) + + 15 Aug 2008; Tiziano Müller <dev-zero@gentoo.org> metadata.xml, + +xqilla-2.1.3.ebuild, +xqilla-9999.ebuild: + Version bump, added live ebuild, added faxpp and htmltidy USE-flags. *xqilla-2.1.2 (23 May 2008) diff --git a/dev-libs/xqilla/metadata.xml b/dev-libs/xqilla/metadata.xml index 8434377a6047..7ccc133d4f63 100644 --- a/dev-libs/xqilla/metadata.xml +++ b/dev-libs/xqilla/metadata.xml @@ -1,5 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>cpp</herd> + <herd>cpp</herd> + <use> + <flag name="faxpp">Use <pkg>dev-libs/faxpp</pkg> instead of Xerces-C for + certain tasks</flag> + <flag name="htmltidy">Use <pkg>app-text/htmltidy</pkg> when parsing + HTML</flag> + </use> </pkgmetadata> diff --git a/dev-libs/xqilla/xqilla-2.1.3.ebuild b/dev-libs/xqilla/xqilla-2.1.3.ebuild new file mode 100644 index 000000000000..25500d7102fc --- /dev/null +++ b/dev-libs/xqilla/xqilla-2.1.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/xqilla-2.1.3.ebuild,v 1.1 2008/08/15 08:59:50 dev-zero Exp $ + +inherit eutils + +MY_P="XQilla-${PV}" + +DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C++." +HOMEPAGE="http://xqilla.sourceforge.net/HomePage" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +LICENSE="Sleepycat BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc faxpp htmltidy" + +RDEPEND="faxpp? ( dev-libs/faxpp ) + ~dev-libs/xerces-c-2.8.0 + htmltidy? ( app-text/htmltidy )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if ! built_with_use dev-libs/xerces-c xqilla ; then + eerror "dev-libs/xerces-c has to be built with the xqilla USE-flag" + die "missing xqilla USE-flag for dev-libs/xerces-c" + fi +} + +src_compile() { + econf \ + --with-xerces=/usr \ + $(use_enable debug) \ + $(use_with htmltidy tidy) \ + $(use_with faxpp faxpp /usr) + + emake || die "emake failed" + + if use doc; then + emake docs || die "emake docs failed" + emake devdocs || die "emake devdocs failed" + fi +} + +src_install () { + emake DESTDIR="${D}" install || die "emake docs failed" + + dodoc ChangeLog TODO + + if use doc; then + cd docs + dohtml -r dev-api dom3-api simple-api + fi +} diff --git a/dev-libs/xqilla/xqilla-9999.ebuild b/dev-libs/xqilla/xqilla-9999.ebuild new file mode 100644 index 000000000000..c654ff4e1672 --- /dev/null +++ b/dev-libs/xqilla/xqilla-9999.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xqilla/xqilla-9999.ebuild,v 1.1 2008/08/15 08:59:50 dev-zero Exp $ + +ESVN_REPO_URI="http://xqilla.svn.sourceforge.net/svnroot/xqilla/trunk/xqilla" + +inherit autotools subversion + +DESCRIPTION="An XQuery and XPath 2 library and command line utility written in C++." +HOMEPAGE="http://xqilla.sourceforge.net/HomePage" +LICENSE="Sleepycat BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc faxpp htmltidy" + +RDEPEND="faxpp? ( dev-libs/faxpp ) + >=dev-libs/xerces-c-3.0.0_beta2 + htmltidy? ( app-text/htmltidy )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +S="${WORKDIR}/${PN}" + +src_unpack() { + subversion_src_unpack + + cd "${S}" + eautoreconf +} + +src_compile() { + econf \ + --with-xerces=/usr \ + $(use_enable debug) \ + $(use_with htmltidy tidy) \ + $(use_with faxpp faxpp /usr) + + emake || die "emake failed" + + if use doc; then + emake docs || die "emake docs failed" + emake devdocs || die "emake devdocs failed" + fi +} + +src_install () { + emake DESTDIR="${D}" install || die "emake docs failed" + + dodoc ChangeLog TODO + + if use doc; then + cd docs + dohtml -r dev-api dom3-api simple-api + fi +} |