summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/biniou')
-rw-r--r--dev-ml/biniou/Manifest1
-rw-r--r--dev-ml/biniou/biniou-1.0.13.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ml/biniou/Manifest b/dev-ml/biniou/Manifest
index 454d11728ec1..c8143907b5fc 100644
--- a/dev-ml/biniou/Manifest
+++ b/dev-ml/biniou/Manifest
@@ -1 +1,2 @@
DIST biniou-1.0.12.tar.gz 24262 SHA256 b946e720d94d524b95bb0401d9e47a971e9234df808fe5f12601140ab09ec686 SHA512 df729e4064f6726efa409ceb5e6ff1987923d9cd28339d6e1c4c185a07c0738b027cafba33a139483eeb8f88e58f66fbb6a57d8e748e7355073a7622fb4d7a07 WHIRLPOOL ae337546d7737a733cedc78fd515bf55603edf9b49be3587ca97d45887ecaac82d072aa8391c72b8142aaadbe7b7d1e4394da1c28ee3d16eb8985c85d665f8fd
+DIST biniou-1.0.13.tar.gz 24327 SHA256 89245629187b29ac1064116ada84a94f271926d99c54c4de8e66d50bfeab2f25 SHA512 2fe109e83260f546181dd26ea175d2c4f63d0f6604c6d26fa44ee31925ba1fdaac0139a436cd0271a31294de9cd8ea65f8dde0981403c652d31de721ef696788 WHIRLPOOL e573d86c3480b7772588f46f7c43d110897c95bf5d2ff67f6e8e071b12a7dd8d2b5fcea060f13304fcacb8c8e5471dade6a396056c72e2ae1b7fbb5019078a17
diff --git a/dev-ml/biniou/biniou-1.0.13.ebuild b/dev-ml/biniou/biniou-1.0.13.ebuild
new file mode 100644
index 000000000000..221435a17637
--- /dev/null
+++ b/dev-ml/biniou/biniou-1.0.13.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A binary data serialization format inspired by JSON for OCaml"
+HOMEPAGE="https://github.com/mjambon/biniou"
+SRC_URI="https://github.com/mjambon/biniou/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0/${PV}"
+LICENSE="BSD"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-3.11:=[ocamlopt?]
+ dev-ml/easy-format:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ emake all
+ use ocamlopt && emake opt
+}
+
+src_install() {
+ use ocamlopt && dodir /usr/bin
+ findlib_src_install BINDIR="${ED}"/usr/bin
+ dodoc README.md Changes
+}