-DIST ocamlgraph-0.99b.tar.gz 175958 SHA256 c4a646cfd152791268d9c2716c5e1c55bf3f39e8637a85f3c3937e3dd4dafec7 SHA512 1301d766679f59714d2adee1cb8cf31ebcc23f1fd425927dc6fd0c23e18849aaf93f04f3d694ea2e05f9570e8ec03734d96abb2668339b45b273e9d78197c0f9 WHIRLPOOL 96a805dcc9ccab532d6590b112f61f255bb7e320990497abea49fed908735671558fa2d83e586322cac7249bf206830ca816efac25ee64776376a49da7f4f341
DIST ocamlgraph-1.8.7.tar.gz 272625 SHA256 df06ca06d25231bb8e162d6b853177cb7fc1565c8f1ec99ca051727d46c985a0 SHA512 27559293bf576ecc9cf49090e24905c50d00ebaeb444a3c917826f3cfe1e7ceab34b43e30f98634811b1688b675d8747b590b5bb103a720d099304f5031feb2e WHIRLPOOL 3b290012a97c96c75b1b63dec056c7afb6d7c1882fc61fd3a88b32397a2e871aa9e872950e6a6e7333450f3b46181df6e27f4fc3464e5c9a3776285a904d4727
+++ /dev/null
-Index: ocamlgraph-0.99b/Makefile.in
-===================================================================
---- ocamlgraph-0.99b.orig/Makefile.in
-+++ ocamlgraph-0.99b/Makefile.in
-@@ -208,10 +208,14 @@ install-byte:
- install-opt: install-byte
- cp -f graph$(LIBEXT) graph.cmx $(CMXA) "$(OCAMLLIB)"
-
-+ifneq ($(OCAMLOPT),no)
-+INSTALL_OPT=graph$(LIBEXT) graph.cmx $(CMXA)
-+endif
-+
- install-findlib: META
- ifdef OCAMLFIND
-- $(OCAMLFIND) install ocamlgraph META *.mli \
-- graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA)
-+ $(OCAMLFIND) install ocamlgraph META src/*.mli lib/*.mli \
-+ $(INSTALL_OPT) graph.cmo graph.cmi $(CMA)
- endif
-
- # documentation
+++ /dev/null
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit findlib eutils
-
-DESCRIPTION="O'Caml Graph library"
-HOMEPAGE="http://www.lri.fr/~filliatr/ocamlgraph/"
-SRC_URI="http://www.lri.fr/~filliatr/ftp/ocamlgraph/${P}.tar.gz"
-LICENSE="LGPL-2"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ppc x86"
-RDEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
- gtk? ( dev-ml/lablgtk:=[gnomecanvas,ocamlopt?] )"
-DEPEND="${RDEPEND}
- doc? ( dev-tex/hevea dev-ml/ocamlweb )"
-IUSE="doc examples gtk +ocamlopt"
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-installfindlib.patch"
-}
-
-src_compile() {
- emake -j1
-
- if use doc; then
- emake doc
- fi
- if use gtk; then
- emake -j1 editor
- fi
-}
-
-src_install() {
- findlib_src_preinst
- emake install-findlib
-
- if use gtk; then
- if use ocamlopt; then
- newbin editor/editor.opt ocamlgraph_editor
- else
- newbin editor/editor.byte ocamlgraph_editor
- fi
- fi
- dodoc README CREDITS FAQ CHANGES
- if use doc; then
- dohtml doc/*
- fi
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}