summaryrefslogtreecommitdiff
path: root/dev-ml/yojson
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/yojson
parent98a08b4d3e6433c1f1d1e8521dddaa1ceda3fd6c (diff)
add Google Drive & OCaml
Diffstat (limited to 'dev-ml/yojson')
-rw-r--r--dev-ml/yojson/Manifest1
-rw-r--r--dev-ml/yojson/yojson-1.1.4.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ml/yojson/Manifest b/dev-ml/yojson/Manifest
new file mode 100644
index 00000000..f7ee015b
--- /dev/null
+++ b/dev-ml/yojson/Manifest
@@ -0,0 +1 @@
+DIST yojson-1.1.4.tar.gz 24489 SHA256 9ef1f179198ce0f67da3e19ba767f0f7e6d5bbb3673256fb6acd5d752fdb5419 SHA512 099ac1a3365bc733689152cf25bd206eb3cbb7ba7a72de766b7339256bea1738c95b29d1b37fe1792dbc47b70b0d00cec61c498eeadd2623a62963928a6da659 WHIRLPOOL 7156b17f4f54ca7a83a6ae5a5ce673736c61665572eaa8d9ced9184ce20760f0131b61ecec7e55cd6acebf362bd5cdf4ab1f3867eb9c63b2d13f0872ce385e71
diff --git a/dev-ml/yojson/yojson-1.1.4.ebuild b/dev-ml/yojson/yojson-1.1.4.ebuild
new file mode 100644
index 00000000..e5e64411
--- /dev/null
+++ b/dev-ml/yojson/yojson-1.1.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit findlib
+
+DESCRIPTION="A JSON library for OCaml"
+HOMEPAGE="http://mjambon.com/yojson.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
+ dev-ml/biniou
+ dev-ml/cppo"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake -j1
+ use doc && emake doc
+}
+
+src_install() {
+ dodir "/usr/bin"
+ findlib_src_preinst
+ emake PREFIX="${D}/usr" install
+ dodoc README.md Changes
+ use doc && dohtml -r doc/
+}