diff options
author | George Shapovalov <george@gentoo.org> | 2003-04-18 06:37:42 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2003-04-18 06:37:42 +0000 |
commit | d28d8c101c463870c8c95ee8bd5ce21c94506467 (patch) | |
tree | 32f8fce87bc32edf0d7cc4a32aa286b547b0a139 /dev-libs/gmetadom | |
parent | fix bug #19501 (diff) | |
download | historical-d28d8c101c463870c8c95ee8bd5ce21c94506467.tar.gz historical-d28d8c101c463870c8c95ee8bd5ce21c94506467.tar.bz2 historical-d28d8c101c463870c8c95ee8bd5ce21c94506467.zip |
new package: abstracts C parsers implementation for C++ and Caml
Diffstat (limited to 'dev-libs/gmetadom')
-rw-r--r-- | dev-libs/gmetadom/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/gmetadom/files/digest-gmetadom-0.0.3-r3 | 1 | ||||
-rw-r--r-- | dev-libs/gmetadom/files/gmetadom-0.0.3-gcc3.diff | 22 | ||||
-rw-r--r-- | dev-libs/gmetadom/gmetadom-0.0.3-r3.ebuild | 54 |
4 files changed, 87 insertions, 0 deletions
diff --git a/dev-libs/gmetadom/ChangeLog b/dev-libs/gmetadom/ChangeLog new file mode 100644 index 000000000000..676050252eac --- /dev/null +++ b/dev-libs/gmetadom/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/gmetadom +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmetadom/ChangeLog,v 1.1 2003/04/18 06:37:42 george Exp $ + +*gmetadom-0.0.3-r3.ebuild (17 Apr 2003) + + 17 Apr 2003; George Shapovalov <george@gentoo.org> gmetadom-0.0.3-r3.ebuild, files/{digest-gmetadom-0.0.3-r3,gmetadom-0.0.3-gcc3.diff} : + initial release (#11398) + A library providing bindings for multiple languages of multiple C DOM implementations + ebuild submitted by Matthieu Sozeau <mattam@netcourrier.com> diff --git a/dev-libs/gmetadom/files/digest-gmetadom-0.0.3-r3 b/dev-libs/gmetadom/files/digest-gmetadom-0.0.3-r3 new file mode 100644 index 000000000000..b77a0e49c6cd --- /dev/null +++ b/dev-libs/gmetadom/files/digest-gmetadom-0.0.3-r3 @@ -0,0 +1 @@ +MD5 ad692f245eda39e2dc4d909a5e246b57 gmetadom-0.0.3.tar.gz 353194 diff --git a/dev-libs/gmetadom/files/gmetadom-0.0.3-gcc3.diff b/dev-libs/gmetadom/files/gmetadom-0.0.3-gcc3.diff new file mode 100644 index 000000000000..3bd56cc3c0da --- /dev/null +++ b/dev-libs/gmetadom/files/gmetadom-0.0.3-gcc3.diff @@ -0,0 +1,22 @@ +--- src/gdome_cpp_smart/include/GdomeSmartDOMDOMStringAux.hh.orig 2002-11-26 16:32:47.000000000 +0100 ++++ src/gdome_cpp_smart/include/GdomeSmartDOMDOMStringAux.hh 2002-11-26 16:18:13.000000000 +0100 +@@ -35,7 +35,7 @@ + + } + +-namespace std { ++namespace __gnu_cxx { + + struct hash<GdomeSmartDOM::DOMString> { + size_t operator()(const GdomeSmartDOM::DOMString& key) const; +--- src/gdome_cpp_smart/basic/GdomeSmartDOMDOMStringAux.cc.orig 2002-11-26 16:31:31.000000000 +0100 ++++ src/gdome_cpp_smart/basic/GdomeSmartDOMDOMStringAux.cc 2002-11-26 16:20:35.000000000 +0100 +@@ -43,7 +43,7 @@ + else { + o << "\\u"; + wchar_t save_fill = o.fill('0'); +- unsigned long save_flags = o.setf(ios::hex, ios::basefield); ++ std::_Ios_Fmtflags save_flags = o.setf(ios::hex, ios::basefield); + int save_width = o.width(4); + o << ch; + o.fill(save_fill); diff --git a/dev-libs/gmetadom/gmetadom-0.0.3-r3.ebuild b/dev-libs/gmetadom/gmetadom-0.0.3-r3.ebuild new file mode 100644 index 000000000000..eb3ef3f03d52 --- /dev/null +++ b/dev-libs/gmetadom/gmetadom-0.0.3-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmetadom/gmetadom-0.0.3-r3.ebuild,v 1.1 2003/04/18 06:37:42 george Exp $ + +IUSE="" + +DESCRIPTION="A library providing bindings for multiple languages of multiple C DOM implementations" +HOMEPAGE="http://gmetadom.sf.net" +SRC_URI="http://belnet.dl.sourceforge.net/sourceforge/gmetadom/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +DEPEND=" + >=findlib-0.8 + >=libxslt-1.0.0 + >=gdome2-0.7.2" + +RDEPEND=">=gdome2-0.7.2" + +S="${WORKDIR}/${P}" + +src_unpack() { + unpack ${A} + cd ${S}/src/gdome_caml + cp Makefile.am Makefile.am.orig + sed -e 's:$(OCAMLFIND) install gdome2 META .libs/libmlgdome.so ;:$(OCAMLFIND) install -destdir=${DESTDIR}/usr/lib/ocaml/site-packages gdome2 META .libs/libmlgdome.so ;:' \ + Makefile.am.orig > Makefile.am.2 + sed -e 's:ocamllibdir = $(OCAML_LIB_PREFIX)/gdome2:ocamllibdir = $(OCAML_LIB_PREFIX)/site-packages/gdome2:' \ + Makefile.am.2 > Makefile.am.3 + sed -e 's:OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/gdome2:OCAMLINSTALLDIR = ${DESTDIR}$(OCAML_LIB_PREFIX)/site-packages/gdome2:' \ + Makefile.am.3 > Makefile.am + cd ${S} + automake + + epatch ${FILESDIR}/${P}-gcc3.diff +} + +src_compile() { + econf || die + make || die +} + +src_install() { + make DESTDIR=${D} OCAMLINSTALLDIR=${D}/usr/lib/ocaml/site-packages/gdome2 install || die + + echo LDPATH=/usr/lib/ocaml/site-packages/gdome2 > 97gdome2 + insinto /etc/env.d + doins 97gdome2 + + dodoc AUTHORS BUGS ChangeLog COPYING HISTORY LICENSE NEWS README + dohtml -r doc/html/* +} |