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
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')
-rw-r--r--dev-libs/gmetadom/ChangeLog10
-rw-r--r--dev-libs/gmetadom/files/digest-gmetadom-0.2.63
-rw-r--r--dev-libs/gmetadom/files/gmetadom-0.2.6-gentoo.patch35
-rw-r--r--dev-libs/gmetadom/gmetadom-0.2.6.ebuild53
4 files changed, 99 insertions, 2 deletions
diff --git a/dev-libs/gmetadom/ChangeLog b/dev-libs/gmetadom/ChangeLog
index 0fa1836b2c7b..205714f68d5e 100644
--- a/dev-libs/gmetadom/ChangeLog
+++ b/dev-libs/gmetadom/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/gmetadom
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmetadom/ChangeLog,v 1.27 2007/05/14 20:18:59 bangert Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmetadom/ChangeLog,v 1.28 2008/01/17 15:08:30 matsuu Exp $
+
+*gmetadom-0.2.6 (17 Jan 2008)
+
+ 17 Jan 2008; MATSUU Takuto <matsuu@gentoo.org>
+ +files/gmetadom-0.2.6-gentoo.patch, +gmetadom-0.2.6.ebuild:
+ Version bumped for #204819 and #206152.
14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
diff --git a/dev-libs/gmetadom/files/digest-gmetadom-0.2.6 b/dev-libs/gmetadom/files/digest-gmetadom-0.2.6
new file mode 100644
index 000000000000..aaa422f1cddf
--- /dev/null
+++ b/dev-libs/gmetadom/files/digest-gmetadom-0.2.6
@@ -0,0 +1,3 @@
+MD5 7bfb5d9c6f20ffa5e790b63d1f8cb481 gmetadom-0.2.6.tar.gz 509165
+RMD160 db56a122853b6b2881d54cb5396c70ea94760e18 gmetadom-0.2.6.tar.gz 509165
+SHA256 2f1e286dfceb7877f90c72de7e5e17a87d0e3f8121feff794a6f637bc1a6756a gmetadom-0.2.6.tar.gz 509165
diff --git a/dev-libs/gmetadom/files/gmetadom-0.2.6-gentoo.patch b/dev-libs/gmetadom/files/gmetadom-0.2.6-gentoo.patch
new file mode 100644
index 000000000000..10a7013eb5b3
--- /dev/null
+++ b/dev-libs/gmetadom/files/gmetadom-0.2.6-gentoo.patch
@@ -0,0 +1,35 @@
+diff -Naur gmetadom-0.2.6.orig/configure.ac gmetadom-0.2.6/configure.ac
+--- gmetadom-0.2.6.orig/configure.ac 2007-10-15 18:42:23.000000000 +0900
++++ gmetadom-0.2.6/configure.ac 2008-01-17 23:41:17.000000000 +0900
+@@ -312,7 +312,7 @@
+ HAVE_OCAMLC=no
+ else
+ HAVE_OCAMLC=yes
+- OCAML_LIB=`$OCAMLC -v | tail -1 | cut -d ':' -f2 | tr -d ' '`
++ OCAML_LIB=`$OCAMLC -v | tail -n 1 | cut -d ':' -f2 | tr -d ' '`
+
+ if test $OCAML_INCLUDE_PREFIX = no; then
+ OCAML_CFLAGS=-I$OCAML_LIB
+diff -Naur gmetadom-0.2.6.orig/src/gdome_caml/Makefile.am gmetadom-0.2.6/src/gdome_caml/Makefile.am
+--- gmetadom-0.2.6.orig/src/gdome_caml/Makefile.am 2006-08-06 17:33:36.000000000 +0900
++++ gmetadom-0.2.6/src/gdome_caml/Makefile.am 2008-01-17 23:42:15.000000000 +0900
+@@ -83,7 +83,7 @@
+ if [ "x$(OCAMLFIND)" != "x" ]; then \
+ mv $(OCAMLINSTALLDIR) $(OCAMLINSTALLDIR).saved && \
+ $(mkinstalldirs) $(DESTDIR)$(OCAML_LIB_PREFIX)/ && \
+- $(OCAMLFIND) install -destdir $(DESTDIR)$(OCAML_LIB_PREFIX)/ $(PKGNAME) META $(DLL) && \
++ $(OCAMLFIND) install -destdir $(DESTDIR)$(OCAML_LIB_PREFIX)/site-packages $(PKGNAME) META $(DLL) && \
+ $(INSTALL_DATA) $(OCAMLINSTALLDIR).saved/* $(OCAMLINSTALLDIR)/ && \
+ rm -rf $(OCAMLINSTALLDIR).saved/; \
+ else \
+diff -Naur gmetadom-0.2.6.orig/src/gdome_cpp_smart/test/Makefile.am gmetadom-0.2.6/src/gdome_cpp_smart/test/Makefile.am
+--- gmetadom-0.2.6.orig/src/gdome_cpp_smart/test/Makefile.am 2007-05-09 00:26:18.000000000 +0900
++++ gmetadom-0.2.6/src/gdome_cpp_smart/test/Makefile.am 2008-01-17 23:41:17.000000000 +0900
+@@ -7,7 +7,6 @@
+
+ LDADDS = \
+ $(GDOME_LIBS) \
+- $(top_builddir)/src/gdome_cpp_smart/.libs/libgmetadom_gdome_cpp_smart.a \
+ $(top_builddir)/src/gdome_cpp_smart/libgmetadom_gdome_cpp_smart.la \
+ -lstdc++
+
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
+}