New ebuild for an OCaml graph library.
authorMatthieu Sozeau <mattam@gentoo.org>
Wed, 21 Sep 2005 19:10:34 +0000 (19:10 +0000)
committerMatthieu Sozeau <mattam@gentoo.org>
Wed, 21 Sep 2005 19:10:34 +0000 (19:10 +0000)
Package-Manager: portage-2.0.51.22-r1

dev-ml/ocamlgraph/ChangeLog [new file with mode: 0644]
dev-ml/ocamlgraph/Manifest [new file with mode: 0644]
dev-ml/ocamlgraph/files/digest-ocamlgraph-0.81 [new file with mode: 0644]
dev-ml/ocamlgraph/metadata.xml [new file with mode: 0644]
dev-ml/ocamlgraph/ocamlgraph-0.81.ebuild [new file with mode: 0644]

diff --git a/dev-ml/ocamlgraph/ChangeLog b/dev-ml/ocamlgraph/ChangeLog
new file mode 100644 (file)
index 0000000..8855eeb
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for dev-ml/ocamlgraph
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ChangeLog,v 1.1 2005/09/21 19:10:34 mattam Exp $
+
+*ocamlgraph-0.81 (21 Sep 2005)
+
+  21 Sep 2005; Matthieu Sozeau <mattam@gentoo.org> +metadata.xml,
+  +ocamlgraph-0.81.ebuild:
+  ocamlgraph is a graph library for OCaml which implements a wide variety of
+  graphs and algorithms.
+
diff --git a/dev-ml/ocamlgraph/Manifest b/dev-ml/ocamlgraph/Manifest
new file mode 100644 (file)
index 0000000..c892008
--- /dev/null
@@ -0,0 +1,4 @@
+MD5 10875cfbb8eea74738164aaecc334fb0 ocamlgraph-0.81.ebuild 751
+MD5 15068105fd0be752d235594197020a00 ChangeLog 435
+MD5 648a541494aceee26dbcfd76164f37ea metadata.xml 157
+MD5 ba513d22f4e8a7de7b3ab289a6a668fc files/digest-ocamlgraph-0.81 66
diff --git a/dev-ml/ocamlgraph/files/digest-ocamlgraph-0.81 b/dev-ml/ocamlgraph/files/digest-ocamlgraph-0.81
new file mode 100644 (file)
index 0000000..fdc0b11
--- /dev/null
@@ -0,0 +1 @@
+MD5 c9592cd99502fd84cee90ca336701635 ocamlgraph-0.81.tar.gz 97467
diff --git a/dev-ml/ocamlgraph/metadata.xml b/dev-ml/ocamlgraph/metadata.xml
new file mode 100644 (file)
index 0000000..849ed8e
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>ml</herd>
+</pkgmetadata>
diff --git a/dev-ml/ocamlgraph/ocamlgraph-0.81.ebuild b/dev-ml/ocamlgraph/ocamlgraph-0.81.ebuild
new file mode 100644 (file)
index 0000000..6b8783a
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlgraph/ocamlgraph-0.81.ebuild,v 1.1 2005/09/21 19:10:34 mattam Exp $
+
+inherit findlib
+
+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"
+KEYWORDS="x86 ppc"
+DEPEND=">=dev-lang/ocaml-3.08
+       doc? ( dev-tex/hevea dev-ml/ocamlweb )"
+IUSE="doc"
+
+src_compile() {
+       econf || die
+       emake || die
+
+       if use doc;
+       then
+               emake doc
+       fi
+}
+
+src_install() {
+       findlib_src_preinst
+       make install-findlib || die
+
+       dodoc README COPYING CREDITS FAQ CHANGES
+       if use doc;
+       then
+               dohtml doc/*
+       fi
+}