1 |
commit: 9249f2ff2792fec4cba2b8dea1940f66063afafc |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 1 07:54:11 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 1 11:18:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9249f2ff |
7 |
|
8 |
dev-ml/ocaml-hashcons: bump to 1.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
|
12 |
dev-ml/ocaml-hashcons/Manifest | 1 + |
13 |
dev-ml/ocaml-hashcons/ocaml-hashcons-1.3.ebuild | 37 +++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/ocaml-hashcons/Manifest b/dev-ml/ocaml-hashcons/Manifest |
17 |
index 3a72ad97c90..6a368ba585c 100644 |
18 |
--- a/dev-ml/ocaml-hashcons/Manifest |
19 |
+++ b/dev-ml/ocaml-hashcons/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ocaml-hashcons-1.2.tar.gz 19775 SHA256 de48e8e3e19b8cf84fb4d8d2484f0bb44dc6ced160b0d22b74d4de7236c821bb SHA512 167ed8d74c5080ef14af0ac1232ea16faee3f0e09e0a65cd72447266939ce7ed5416f4cf6a3021e5ca8215726df129d3f05c9e0c12dcd36f845b060fd93072b2 WHIRLPOOL 4d89bbf99826dbc1e5d8e46f03d71357b0b6c6b71ba76f9b7a8dcaa4906b976c4edd30407d0d1cb183e9cb5ef8b11f412fee98beb8eb1d4a6113cc9650eea0a3 |
22 |
+DIST ocaml-hashcons-1.3.tar.gz 19495 SHA256 59c72966f48ea67c694dd49099eca180b52d3da81d4300172ace6edb4a5d72ce SHA512 fd194d48a3231e72ca8bf3d324e5e1f6442d965da9149973a1763cf70aa82398805fa00648bdd12de3d3daada8e90bdc575c73886f949b5183e79bea75beadc8 WHIRLPOOL 67133d354bc96bfbffa269593680183cfd8bf8882383fdddd6a84fccb8702ab5aae440b0d428b19c2f2408ac95d501f654ec678d71c575b2f6d0f38ac8a0b4e0 |
23 |
|
24 |
diff --git a/dev-ml/ocaml-hashcons/ocaml-hashcons-1.3.ebuild b/dev-ml/ocaml-hashcons/ocaml-hashcons-1.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..7b027961ea8 |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/ocaml-hashcons/ocaml-hashcons-1.3.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=5 |
34 |
+ |
35 |
+inherit autotools findlib |
36 |
+ |
37 |
+DESCRIPTION="OCaml hash-consing library" |
38 |
+HOMEPAGE="https://github.com/backtracking/ocaml-hashcons" |
39 |
+SRC_URI="https://github.com/backtracking/ocaml-hashcons/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="LGPL-2.1-with-linking-exception" |
42 |
+SLOT="0/${PV}" |
43 |
+KEYWORDS="~amd64" |
44 |
+IUSE="+ocamlopt" |
45 |
+ |
46 |
+RDEPEND="dev-lang/ocaml:=[ocamlopt?]" |
47 |
+DEPEND="${RDEPEND}" |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ eautoreconf |
51 |
+ sed -i -e 's/$(OCAMLFIND) remove/#/' Makefile.in || die |
52 |
+} |
53 |
+ |
54 |
+src_compile() { |
55 |
+ if use ocamlopt; then |
56 |
+ emake opt byte |
57 |
+ else |
58 |
+ emake byte |
59 |
+ fi |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ dodir "$(ocamlfind printconf destdir)/hashcons" |
64 |
+ emake DESTDIR="-destdir ${D}/$(ocamlfind printconf destdir)/" $(usex ocamlopt install-opt install-byte) |
65 |
+ dodoc README.md CHANGES |
66 |
+} |