summaryrefslogtreecommitdiff
path: root/dev-ml/biniou
diff options
context:
space:
mode:
authorAlexe-Cristia Moldovan <contact@crism.ro>2015-06-18 15:34:05 +0300
committerAlexe-Cristia Moldovan <contact@crism.ro>2015-06-18 15:34:05 +0300
commit975d01bc65f0f9190808c0d3cddf3131a790a8f6 (patch)
tree0dcbf5c176f69592e8aec75c1c1ba4614f9ee7f0 /dev-ml/biniou
parent98a08b4d3e6433c1f1d1e8521dddaa1ceda3fd6c (diff)
add Google Drive & OCaml
Diffstat (limited to 'dev-ml/biniou')
-rw-r--r--dev-ml/biniou/Manifest1
-rw-r--r--dev-ml/biniou/biniou-1.0.5.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ml/biniou/Manifest b/dev-ml/biniou/Manifest
new file mode 100644
index 00000000..2bf19467
--- /dev/null
+++ b/dev-ml/biniou/Manifest
@@ -0,0 +1 @@
+DIST biniou-1.0.5.tar.gz 23463 SHA256 c440ba220649cb7578389d2054225858b4838a5155dcfbcfdf2383f565c2749f SHA512 cfd00607ede68069a6bb9a73dfc619f4c101febab5171205aa019efa3bb52dae76a961c641979cd271141f2e1a98e2dbe6e524a0011d1b30f91bbca02b7c1623 WHIRLPOOL 213d7970f6ec7eb87d4783ec16f3eaedee34761ce3855431cc08c58711a792002c96be6dc54b3b2c2f965a472cccbb3c3bf67c25dc9378a251ad3a9e10956362
diff --git a/dev-ml/biniou/biniou-1.0.5.ebuild b/dev-ml/biniou/biniou-1.0.5.ebuild
new file mode 100644
index 00000000..ed6e866f
--- /dev/null
+++ b/dev-ml/biniou/biniou-1.0.5.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit findlib
+
+DESCRIPTION="A binary JSON like data format for OCaml"
+HOMEPAGE="http://mjambon.com/biniou.html"
+SRC_URI="http://mjambon.com/releases/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND="dev-lang/ocaml
+ dev-ml/easy-format"
+
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake -j1
+ use doc && make html
+}
+
+src_install() {
+ findlib_src_preinst
+ mkdir "${D}/usr/bin"
+ emake install PREFIX="${D}/usr"
+ use doc && dohtml -r html/
+}