summaryrefslogtreecommitdiff
path: root/dev-ml/biniou/biniou-1.0.5.ebuild
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/biniou/biniou-1.0.5.ebuild
parent35875647a1f4db65a3a7a559479ef8e311acbac2 (diff)
parent975d01bc65f0f9190808c0d3cddf3131a790a8f6 (diff)
Merge pull request #52 from crismblog/master
Applications useful and beautiful themes
Diffstat (limited to 'dev-ml/biniou/biniou-1.0.5.ebuild')
-rw-r--r--dev-ml/biniou/biniou-1.0.5.ebuild33
1 files changed, 33 insertions, 0 deletions
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/
+}