summaryrefslogtreecommitdiff
path: root/dev-ml/yojson
diff options
context:
space:
mode:
authorStefan Cristian B. <steven.darklight@gmail.com>2015-06-18 18:31:03 +0300
committerStefan Cristian B. <steven.darklight@gmail.com>2015-06-18 18:31:03 +0300
commit71c20430bd06d80b663fb54d1df67598d804c219 (patch)
tree8ed9e8852b128c270f9197edf597532ac3fd8e11 /dev-ml/yojson
parent35875647a1f4db65a3a7a559479ef8e311acbac2 (diff)
parent975d01bc65f0f9190808c0d3cddf3131a790a8f6 (diff)
Merge pull request #52 from crismblog/master
Applications useful and beautiful themes
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/
+}