summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Horel (thrasibule) <guillaume.horel@gmail.com>2009-08-17 01:01:49 +0000
committerGuillaume Horel (thrasibule) <guillaume.horel@gmail.com>2009-08-17 01:01:49 +0000
commit51f67a79c2639b25667b911c7343eb88fa95cea8 (patch)
treeadc28c666acdb8248c63c6f3cd5c7716328da74a /dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild
parentdev-python/django-haystack: New ebuild for dev-python/django-haystack (bug #2... (diff)
downloadsunrise-51f67a79c2639b25667b911c7343eb88fa95cea8.tar.gz
sunrise-51f67a79c2639b25667b911c7343eb88fa95cea8.tar.bz2
sunrise-51f67a79c2639b25667b911c7343eb88fa95cea8.zip
dev-ml/ocamlgsl: New Ebuild for dev-ml/ocamlgsl (bug #280939)
svn path=/sunrise/; revision=9034
Diffstat (limited to 'dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild')
-rw-r--r--dev-ml/ocamlgsl/ocamlgsl-0.6.0.ebuild37
1 files changed, 37 insertions, 0 deletions
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
+}