diff options
author | Alexe-Cristia Moldovan <contact@crism.ro> | 2015-06-18 15:34:05 +0300 |
---|---|---|
committer | Alexe-Cristia Moldovan <contact@crism.ro> | 2015-06-18 15:34:05 +0300 |
commit | 975d01bc65f0f9190808c0d3cddf3131a790a8f6 (patch) | |
tree | 0dcbf5c176f69592e8aec75c1c1ba4614f9ee7f0 /dev-ml/yojson/yojson-1.1.4.ebuild | |
parent | 98a08b4d3e6433c1f1d1e8521dddaa1ceda3fd6c (diff) |
add Google Drive & OCaml
Diffstat (limited to 'dev-ml/yojson/yojson-1.1.4.ebuild')
-rw-r--r-- | dev-ml/yojson/yojson-1.1.4.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
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/ +} |