summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2005-12-24 16:14:25 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2005-12-24 16:14:25 +0000
commitcf9142679f77bb2ab2063f2498ffb6bbe55ec7ee (patch)
treeadc47a6b5a2da7ff819114cf05e8e301f8005ed2 /dev-libs/gmetadom/gmetadom-0.2.3.ebuild
parentAdded ~ppc64 (diff)
downloadgentoo-2-cf9142679f77bb2ab2063f2498ffb6bbe55ec7ee.tar.gz
gentoo-2-cf9142679f77bb2ab2063f2498ffb6bbe55ec7ee.tar.bz2
gentoo-2-cf9142679f77bb2ab2063f2498ffb6bbe55ec7ee.zip
Version bumped. Fixed for gcc 4.1, Bug 115918.
(Portage version: 2.0.53)
Diffstat (limited to 'dev-libs/gmetadom/gmetadom-0.2.3.ebuild')
-rw-r--r--dev-libs/gmetadom/gmetadom-0.2.3.ebuild55
1 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/gmetadom/gmetadom-0.2.3.ebuild b/dev-libs/gmetadom/gmetadom-0.2.3.ebuild
new file mode 100644
index 000000000000..35edb2f05c30
--- /dev/null
+++ b/dev-libs/gmetadom/gmetadom-0.2.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmetadom/gmetadom-0.2.3.ebuild,v 1.1 2005/12/24 16:14:25 matsuu Exp $
+
+inherit 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="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ocaml"
+
+RDEPEND=">=dev-libs/gdome2-0.8.0"
+DEPEND="${RDEPEND}
+ >=dev-libs/libxslt-1.0.0
+ ocaml? ( >=dev-lang/ocaml-3.05
+ >=dev-ml/findlib-0.8 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+
+ # Fix gcc 4.1 problems
+ epatch ${FILESDIR}/${P}-gcc41.patch
+
+ WANT_AUTOCONF="2.5" WANT_AUTOMAKE="1.7" autoreconf --install --force || die
+}
+
+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
+ #emake || die
+ make || die
+}
+
+src_install() {
+ local destdir=`ocamlfind printconf destdir`
+
+ make \
+ DESTDIR=${D} \
+ OCAMLINSTALLDIR=${D}${destdir}/gdome2 \
+ OCAMLFIND_LDCONF=dummy \
+ install || die
+
+ dodoc AUTHORS BUGS ChangeLog HISTORY NEWS README
+}