summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-16 02:37:59 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-16 02:37:59 +0000
commitc6bfa97d7d21fc1de674e86aafac5788830abcfe (patch)
tree73dc03566f8639cf468bafef2814cdb6bb76ce56 /dev-libs/gmetadom
parentadd inherit eutils (diff)
downloadhistorical-c6bfa97d7d21fc1de674e86aafac5788830abcfe.tar.gz
historical-c6bfa97d7d21fc1de674e86aafac5788830abcfe.tar.bz2
historical-c6bfa97d7d21fc1de674e86aafac5788830abcfe.zip
add inherit eutils
Diffstat (limited to 'dev-libs/gmetadom')
-rw-r--r--dev-libs/gmetadom/gmetadom-0.0.3-r3.ebuild36
1 files changed, 15 insertions, 21 deletions
diff --git a/dev-libs/gmetadom/gmetadom-0.0.3-r3.ebuild b/dev-libs/gmetadom/gmetadom-0.0.3-r3.ebuild
index 91a40c169023..4c35746f69e2 100644
--- a/dev-libs/gmetadom/gmetadom-0.0.3-r3.ebuild
+++ b/dev-libs/gmetadom/gmetadom-0.0.3-r3.ebuild
@@ -1,37 +1,31 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 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.4 2003/10/23 14:42:35 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmetadom/gmetadom-0.0.3-r3.ebuild,v 1.5 2004/04/16 02:37:59 vapier Exp $
-IUSE=""
+inherit eutils
DESCRIPTION="A library providing bindings for multiple languages of multiple C DOM implementations"
-HOMEPAGE="http://gmetadom.sf.net"
+HOMEPAGE="http://gmetadom.sourceforge.net/"
SRC_URI="mirror://sourceforge/gmetadom/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="x86"
+IUSE=""
-DEPEND="
- >=findlib-0.8
- >=libxslt-1.0.0
- >=gdome2-0.7.2"
-
-RDEPEND=">=gdome2-0.7.2"
-
-S="${WORKDIR}/${P}"
+DEPEND=">=dev-ml/findlib-0.8
+ >=dev-libs/libxslt-1.0.0
+ >=dev-libs/gdome2-0.7.2"
+RDEPEND=">=dev-libs/gdome2-0.7.2"
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}
+ sed -i \
+ -e 's:$(OCAMLFIND) install gdome2 META .libs/libmlgdome.so ;:$(OCAMLFIND) install -destdir=${DESTDIR}/usr/lib/ocaml/site-packages gdome2 META .libs/libmlgdome.so ;:' \
+ -e 's:ocamllibdir = $(OCAML_LIB_PREFIX)/gdome2:ocamllibdir = $(OCAML_LIB_PREFIX)/site-packages/gdome2:' \
+ -e 's:OCAMLINSTALLDIR = $(DESTDIR)$(OCAML_LIB_PREFIX)/gdome2:OCAMLINSTALLDIR = ${DESTDIR}$(OCAML_LIB_PREFIX)/site-packages/gdome2:' \
+ src/gdome_caml/Makefile.am
automake
epatch ${FILESDIR}/${P}-gcc3.diff
@@ -49,6 +43,6 @@ src_install() {
insinto /etc/env.d
doins 97gdome2
- dodoc AUTHORS BUGS ChangeLog COPYING HISTORY LICENSE NEWS README
+ dodoc AUTHORS BUGS ChangeLog HISTORY NEWS README
dohtml -r doc/html/*
}