1 |
commit: 4e9923a56d22e6f36e152433ddc8c1196ff5e63f |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 30 16:02:58 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 30 16:30:40 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e9923a5 |
7 |
|
8 |
dev-ml/js_of_ocaml: bump to 2.7 |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
dev-ml/js_of_ocaml/Manifest | 1 + |
14 |
dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild | 46 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/js_of_ocaml/Manifest b/dev-ml/js_of_ocaml/Manifest |
18 |
index 5905692..fa92aea 100644 |
19 |
--- a/dev-ml/js_of_ocaml/Manifest |
20 |
+++ b/dev-ml/js_of_ocaml/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST js_of_ocaml-2.6.tar.gz 1291882 SHA256 c1f066d09524c6be2d40cfb387de49b337837dcc8f2f746a207f37706ca66460 SHA512 2c4e294b7946757d9b05ec640e130cbee6a0130c03eb3a2188988fb956c1f0e2738c32e97abc461e748e667e7d31e386c5470942df84ddbcf5903d41b133e8c8 WHIRLPOOL abf477caa49edc65b5e577a90dd86641f12b6757e6f2c9034fe08d51cc1ac11209b73e8fdd88de420ed0277d8715bb085c10d29b237854cdebb8a9e36f8e22fe |
23 |
+DIST js_of_ocaml-2.7.tar.gz 1304487 SHA256 52922f55428a1d8a55ec2493c4989152e06efd29a981adf8ac9f343f558854b5 SHA512 ab6e5d16342bf763c10eb5c2e7589610622034eee2ad82aa09c6f68448f155a5c56584702307852b251bde80146c1b7115ed6add1358ad96b130c9dd2b96118b WHIRLPOOL 278c17432fdf9bf670df33479c68705868be39eb4d53f67fc489fe44ac2e7645dd5e2ed3e6e71752a2387b516ce0ab6dc99ac1d870fc75ffdad9df87031e9de4 |
24 |
|
25 |
diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..4f423b9 |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+inherit findlib eutils |
38 |
+ |
39 |
+DESCRIPTION="A compiler from OCaml bytecode to javascript" |
40 |
+HOMEPAGE="http://ocsigen.org/js_of_ocaml/" |
41 |
+SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1-with-linking-exception" |
44 |
+SLOT="0/${PV}" |
45 |
+KEYWORDS="~amd64" |
46 |
+IUSE="+ocamlopt doc +deriving" |
47 |
+ |
48 |
+DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?] |
49 |
+ >=dev-ml/lwt-2.4.4:= |
50 |
+ dev-ml/react:= |
51 |
+ dev-ml/reactiveData:= |
52 |
+ >=dev-ml/tyxml-3.6:= |
53 |
+ dev-ml/cmdliner:= |
54 |
+ dev-ml/menhir:= |
55 |
+ dev-ml/ocaml-base64:= |
56 |
+ dev-ml/camlp4:= |
57 |
+ dev-ml/cppo:= |
58 |
+ deriving? ( >=dev-ml/deriving-0.6:= )" |
59 |
+RDEPEND="${DEPEND}" |
60 |
+ |
61 |
+src_configure() { |
62 |
+ use ocamlopt || echo "BEST := byte" >> Makefile.conf |
63 |
+ use deriving || echo "WITH_DERIVING := NO" >> Makefile.conf |
64 |
+} |
65 |
+ |
66 |
+src_compile() { |
67 |
+ emake |
68 |
+ use doc && emake doc |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ findlib_src_preinst |
73 |
+ emake BINDIR="${ED}/usr/bin/" install |
74 |
+ dodoc CHANGES README.md |
75 |
+ use doc && dohtml -r doc/api/html/ |
76 |
+} |