From 51f67a79c2639b25667b911c7343eb88fa95cea8 Mon Sep 17 00:00:00 2001 From: "Guillaume Horel (thrasibule)" Date: Mon, 17 Aug 2009 01:01:49 +0000 Subject: dev-ml/ocamlgsl: New Ebuild for dev-ml/ocamlgsl (bug #280939) svn path=/sunrise/; revision=9034 --- dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild (limited to 'dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild') diff --git a/dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild b/dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild new file mode 100644 index 000000000..462aee032 --- /dev/null +++ b/dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit base findlib + +DESCRIPTION="OCaml bindings for the GSL library" +HOMEPAGE="http://oandrieu.nerim.net/ocaml/gsl/" +SRC_URI="http://oandrieu.nerim.net/ocaml/gsl/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +DEPEND=">=dev-lang/ocaml-3.10 + >=sci-libs/gsl-1.9" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/ocaml-3.11.patch" ) + +src_compile() { + emake -j1 || die "compilation failed" +} + +src_install() { + findlib_src_preinst + emake install-findlib -j1 || die "make install failed" + + dodoc README NEWS NOTES || die "docs install failed" + doinfo *.info* || die "info install failed" + if use doc; then + dohtml doc/* || die "html docs install failed" + fi +} -- cgit v1.2.3-18-g5258