summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2008-01-17 15:08:30 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2008-01-17 15:08:30 +0000
commit15ffbc0798b2bb0accd96a39a3a0cbb1d3bc5e37 (patch)
treeae7dcd3d2dbb9278a72d067e849fb85c6249a41e /dev-libs/gmetadom/gmetadom-0.2.6.ebuild
parentRemove WANT_SPLIT_ANT. (diff)
downloadgentoo-2-15ffbc0798b2bb0accd96a39a3a0cbb1d3bc5e37.tar.gz
gentoo-2-15ffbc0798b2bb0accd96a39a3a0cbb1d3bc5e37.tar.bz2
gentoo-2-15ffbc0798b2bb0accd96a39a3a0cbb1d3bc5e37.zip
Version bumped for #204819 and #206152.
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-libs/gmetadom/gmetadom-0.2.6.ebuild')
-rw-r--r--dev-libs/gmetadom/gmetadom-0.2.6.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/gmetadom/gmetadom-0.2.6.ebuild b/dev-libs/gmetadom/gmetadom-0.2.6.ebuild
new file mode 100644
index 000000000000..1911f01e5c75
--- /dev/null
+++ b/dev-libs/gmetadom/gmetadom-0.2.6.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmetadom/gmetadom-0.2.6.ebuild,v 1.1 2008/01/17 15:08:30 matsuu Exp $
+
+WANT_AUTOCONF=latest
+WANT_AUTOMAKE=latest
+
+inherit autotools flag-o-matic eutils
+
+DESCRIPTION="A library providing bindings for multiple languages of multiple C DOM implementations"
+HOMEPAGE="http://gmetadom.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gmetadom/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ocaml"
+
+RDEPEND="dev-libs/glib
+ >=dev-libs/gdome2-0.8.0
+ >=dev-libs/libxslt-1.0.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ ocaml? (
+ >=dev-lang/ocaml-3.05
+ >=dev-ml/findlib-0.8
+ )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ eautoreconf
+}
+
+src_compile() {
+ local mymod="gdome_cpp_smart"
+
+ # Unconditonal use of -fPIC (#55238).
+ append-flags -fPIC
+ use ocaml && mymod="${mymod} gdome_caml"
+
+ econf --with-modules="${mymod}" || die
+ # parallel b0rks
+ emake -j1 || die
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die
+
+ dodoc AUTHORS BUGS ChangeLog HISTORY NEWS README
+}