Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
commit: 578ff9363f499493086e259db93d806b08520fa8
Author: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
AuthorDate: Tue Nov 15 00:26:21 2011 +0000
Commit: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Tue Nov 15 00:26:21 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=578ff936
[dev-ml/lacaml] initial import
---
dev-ml/lacaml/ChangeLog | 10 +++++++++
dev-ml/lacaml/lacaml-5.5.2.ebuild | 40 +++++++++++++++++++++++++++++++++++++
dev-ml/lacaml/metadata.xml | 8 +++++++
3 files changed, 58 insertions(+), 0 deletions(-)
diff --git a/dev-ml/lacaml/ChangeLog b/dev-ml/lacaml/ChangeLog
new file mode 100644
index 0000000..f771bb4
--- /dev/null
+++ b/dev-ml/lacaml/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ml/lacaml
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*lacaml-5.5.2 (15 Nov 2011)
+
+ 15 Nov 2011; Guillaume Horel <guillaume.horel@...>
+ +lacaml-5.5.2.ebuild, +metadata.xml:
+ Original import
+
diff --git a/dev-ml/lacaml/lacaml-5.5.2.ebuild b/dev-ml/lacaml/lacaml-5.5.2.ebuild
new file mode 100644
index 0000000..8a17c7f
--- /dev/null
+++ b/dev-ml/lacaml/lacaml-5.5.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils findlib
+
+DESCRIPTION="BLAS/LAPACK interface for OCaml"
+HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html"
+SRC_URI="http://hg.ocaml.info/release/${PN}/archive/release-${PV}.tar.bz2
+-> ${P}.tar.bz2"
+
+LICENSE="LGPL-2.1-linking-exception"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND="dev-lang/ocaml[ocamlopt]
+ virtual/blas
+ virtual/lapack"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-release-${PV}"
+
+src_prepare() {
+ sed -i -e "s/blas/$(pkg-config --libs blas|sed s/-l//g)/" \
+ -e "s/lapack/$(pkg-config --libs lapack|sed s/-l//g)/" Makefile.conf ||die
+}
+
+src_compile() {
+ emake
+ use doc && emake doc
+}
+
+src_install() {
+ findlib_src_install
+ dodoc README.txt Changelog
+ use doc && dodoc -r doc/lacaml/html doc/lacaml/latex
+}
diff --git a/dev-ml/lacaml/metadata.xml b/dev-ml/lacaml/metadata.xml
new file mode 100644
index 0000000..8925df6
--- /dev/null
+++ b/dev-ml/lacaml/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang='en'>
+BLAS/LAPACK-interface for OCaml
+</longdescription>
+</pkgmetadata>
|
|