1 |
commit: ad716be27f7c077c478723c1c331cc372cb0eb3a |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 22 10:22:39 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 22 10:22:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad716be2 |
7 |
|
8 |
dev-ml/ocaml-ctypes: bump to 0.4.2 |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
dev-ml/ocaml-ctypes/Manifest | 1 + |
14 |
dev-ml/ocaml-ctypes/ocaml-ctypes-0.4.2.ebuild | 36 +++++++++++++++++++++++++++ |
15 |
2 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/dev-ml/ocaml-ctypes/Manifest b/dev-ml/ocaml-ctypes/Manifest |
18 |
index 88844f3..79985b8 100644 |
19 |
--- a/dev-ml/ocaml-ctypes/Manifest |
20 |
+++ b/dev-ml/ocaml-ctypes/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ocaml-ctypes-0.4.1.tar.gz 162601 SHA256 74564e049de5d3c0e76ea284c225cb658ac1a2b483345be1efb9be4b3c1702f5 SHA512 8155ffe16a58d5714ceb602afa5531c93526defca39a16047328ac06d2c7c7f52b768b18170391f467e1f6919c69275734faf85d27315e11b8bbefcb1bc8afa9 WHIRLPOOL d8d0ef24e0b6c40f50fddf38fed7238cf95573909d2809cc2ab5c1b9b3dab333210e1ce99cf805804576a79d08d819e2ecdee7b4a6a9e13efb13e7b9f88ad802 |
23 |
+DIST ocaml-ctypes-0.4.2.tar.gz 162968 SHA256 704efcbf3b99c180855ad4faed0dd7cec4f2384f9b8963b572329697be8cbae4 SHA512 78e51a4ea35efd6d854b81c65d3e224175927a3c87b9b665d173cefeb3f424e1ed8fc8dfbbb4ce33b4bc43163ecf647ba9b502e69c82eb05ddcde66b8d6c99e4 WHIRLPOOL 124c6f91ae1ae980994f8cca483a2090c60b62864abe8d4b9aac725b2131f331d385a6a1e5b7685e4f61ac4e3e53cb22ac0cad9b32ebefa444d2ef00e15f7caa |
24 |
|
25 |
diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.4.2.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.4.2.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..8ebc7be |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.4.2.ebuild |
30 |
@@ -0,0 +1,36 @@ |
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 |
38 |
+ |
39 |
+DESCRIPTION="Library for binding to C libraries using pure OCaml" |
40 |
+HOMEPAGE="https://github.com/ocamllabs/ocaml-ctypes" |
41 |
+SRC_URI="https://github.com/ocamllabs/ocaml-ctypes/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0/${PV}" |
45 |
+KEYWORDS="~amd64 ~arm ~x86" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-lang/ocaml-4.02:=[ocamlopt] |
50 |
+ virtual/libffi |
51 |
+" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ test? ( dev-ml/ounit )" |
54 |
+ |
55 |
+src_compile() { |
56 |
+ emake -j1 |
57 |
+} |
58 |
+ |
59 |
+src_test() { |
60 |
+ emake -j1 test |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ findlib_src_install |
65 |
+ dodoc CHANGES.md README.md |
66 |
+} |