summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml-ctypes/Manifest1
-rw-r--r--dev-ml/ocaml-ctypes/ocaml-ctypes-0.12.1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ml/ocaml-ctypes/Manifest b/dev-ml/ocaml-ctypes/Manifest
index 04f0cf546234..9a8120e6a8b8 100644
--- a/dev-ml/ocaml-ctypes/Manifest
+++ b/dev-ml/ocaml-ctypes/Manifest
@@ -2,4 +2,5 @@ DIST ocaml-ctypes-0.11.2.tar.gz 203564 SHA256 708e2c5501ba00b3ed6726a7da1c2b58f6
DIST ocaml-ctypes-0.11.3.tar.gz 204959 SHA256 683b0215dca7bba797404869a80564cd4901a0a3f3c14bd65be7656c40b2329d SHA512 e7698954a6b683869a1482af8fe1bbeb5ccf693c2bb8583e2c19c5da92ed2730466e373c6f53d9ff9f09c2bdedf102da3f76b75511d7f9b7d266ac0765999f94 WHIRLPOOL ddeb6cf4b2b4c611bfe26f94974eaaa69415164825c5744d59b5afe388230cedad4d4c12b7d3753da31899af01f10c642f3478f9cc4270d49e70057023f61450
DIST ocaml-ctypes-0.11.4.tar.gz 205055 SHA256 519812a3d3cf98983acb20d8f8ace7914c7ff2f20fa03402ae8295a66a5c32f7 SHA512 3bd9aa6c12117e097476437e8df544095fa6243b7fdc1fcc07db3a0bf17189ea5eb9436fad49be29bbc4acdf43e3ceba2a026cf3d4958335cb1698264a27d856 WHIRLPOOL 3c200918181f1b8f50c7a611543315024a428878673e923ff7d9bc05344e9a584878630c5fd3cc64d016b036c5f60253af6e31f377e04b92aca42ecdd2116615
DIST ocaml-ctypes-0.12.0.tar.gz 199557 SHA256 a4f78e9b3ed71f3cba0ccdcfa0690f423dedee6132611cd4be0534b43c980ca3 SHA512 f2491f068da969d8d047733ca56d7b967a4f4de038bc24c6539b90fbfe29864d94e92f02518fb419facf8223797a27e87cde88042f22dc55bc6bef3a216760de WHIRLPOOL 80326044c7feaaa1e4d370ac3c1e085905ca8d3d9f2a2cc42f6aa7c3a6dff94a1aa3193a862cad185379d115f9cc7bf7913ff8760e3f86a24fa3732cc6fcd0a2
+DIST ocaml-ctypes-0.12.1.tar.gz 199686 SHA256 127298c14af89625ebd300c08420e8629df98ebcff016fe6c1d0d106a0542810 SHA512 801c66395d843c9e410736a06ab5e03bbe22851a364dc9b9444f49dc133e0f5e0b7a1c31e88de56d23a21817cb35595a1b6743c430c8c1a689b7ae12adc8856f WHIRLPOOL 6179ea58bd7f5f03ff04806fd49c21637ad903cbfb0b16c3a255e6a9f2b9d32f2f97e15f86cec2692f84464121f496fc674d0f1e10ba80796e232d59c49a0a33
DIST ocaml-ctypes-0.4.1.tar.gz 162601 SHA256 74564e049de5d3c0e76ea284c225cb658ac1a2b483345be1efb9be4b3c1702f5 SHA512 8155ffe16a58d5714ceb602afa5531c93526defca39a16047328ac06d2c7c7f52b768b18170391f467e1f6919c69275734faf85d27315e11b8bbefcb1bc8afa9 WHIRLPOOL d8d0ef24e0b6c40f50fddf38fed7238cf95573909d2809cc2ab5c1b9b3dab333210e1ce99cf805804576a79d08d819e2ecdee7b4a6a9e13efb13e7b9f88ad802
diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.12.1.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.12.1.ebuild
new file mode 100644
index 000000000000..1fbd65d357d0
--- /dev/null
+++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.12.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="Library for binding to C libraries using pure OCaml"
+HOMEPAGE="https://github.com/ocamllabs/ocaml-ctypes"
+SRC_URI="https://github.com/ocamllabs/ocaml-ctypes/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64"
+IUSE="test"
+
+RDEPEND="
+ >=dev-lang/ocaml-4.02:=[ocamlopt]
+ virtual/libffi
+ dev-ml/integers:=
+"
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit dev-ml/lwt )"
+
+src_compile() {
+ emake -j1
+}
+
+src_test() {
+ emake -j1 test
+}
+
+src_install() {
+ findlib_src_install
+ dodoc CHANGES.md README.md
+}