Gentoo Archives: gentoo-commits

From: Guillaume Horel <guillaume.horel@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-ml/lacaml/
Date: Fri, 02 Mar 2012 03:05:22
Message-Id: 1330657456.3f2908235115e7b91baf8a1be975e7843bf4c010.guillaume_horel@gentoo
1 commit: 3f2908235115e7b91baf8a1be975e7843bf4c010
2 Author: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 7 02:00:54 2012 +0000
4 Commit: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
5 CommitDate: Fri Mar 2 03:04:16 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3f290823
7
8 [dev-ml/lacaml] version bump
9
10 ---
11 dev-ml/lacaml/ChangeLog | 8 ++++++-
12 dev-ml/lacaml/lacaml-6.0.4.ebuild | 40 +++++++++++++++++++++++++++++++++++++
13 2 files changed, 47 insertions(+), 1 deletions(-)
14
15 diff --git a/dev-ml/lacaml/ChangeLog b/dev-ml/lacaml/ChangeLog
16 index f771bb4..d3d8095 100644
17 --- a/dev-ml/lacaml/ChangeLog
18 +++ b/dev-ml/lacaml/ChangeLog
19 @@ -1,7 +1,13 @@
20 # ChangeLog for dev-ml/lacaml
21 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
22 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 +*lacaml-6.0.4 (02 Mar 2012)
26 +
27 + 02 Mar 2012; Guillaume Horel <guillaume.horel@×××××.com>
28 + +lacaml-6.0.4.ebuild:
29 + version bump
30 +
31 *lacaml-5.5.2 (15 Nov 2011)
32
33 15 Nov 2011; Guillaume Horel <guillaume.horel@×××××.com>
34
35 diff --git a/dev-ml/lacaml/lacaml-6.0.4.ebuild b/dev-ml/lacaml/lacaml-6.0.4.ebuild
36 new file mode 100644
37 index 0000000..00c7a9a
38 --- /dev/null
39 +++ b/dev-ml/lacaml/lacaml-6.0.4.ebuild
40 @@ -0,0 +1,40 @@
41 +# Copyright 1999-2012 Gentoo Foundation
42 +# Distributed under the terms of the GNU General Public License v2
43 +# $Header: $
44 +
45 +EAPI=4
46 +
47 +inherit eutils findlib
48 +
49 +DESCRIPTION="BLAS/LAPACK interface for OCaml"
50 +HOMEPAGE="http://forge.ocamlcore.org/projects/lacaml"
51 +SRC_URI="http://forge.ocamlcore.org/frs/download.php/806/${P}.tar.gz"
52 +
53 +LICENSE="LGPL-2.1-linking-exception"
54 +SLOT="0"
55 +KEYWORDS="~x86"
56 +IUSE="doc"
57 +
58 +DEPEND="dev-lang/ocaml[ocamlopt]
59 + virtual/blas
60 + virtual/lapack"
61 +RDEPEND="${DEPEND}"
62 +
63 +src_configure() {
64 + ocaml setup.ml -configure \
65 + --override conf_cclib "$(pkg-config --libs blas) \
66 +$(pkg-config --libs lapack)" \
67 + --destdir "${ED}" \
68 + --prefix "/usr" \
69 + --docdir "/usr/share/${PF}/doc" || die "configuration failed"
70 +}
71 +
72 +src_compile() {
73 + emake
74 + use doc && emake doc
75 +}
76 +
77 +src_install() {
78 + findlib_src_install
79 + dodoc README.txt Changelog
80 +}