diff options
author | 2017-07-19 22:15:38 +0200 | |
---|---|---|
committer | 2017-07-19 23:30:27 +0200 | |
commit | ad6d3af31097fc102dcc3c689095a989d9f09e4c (patch) | |
tree | 6319d860f0ef9017c6342c4d1257d53fd0cd3bd7 /dev-ml/biniou/biniou-1.2.0.ebuild | |
parent | app-admin/mcollective: 2.11.1 bup (diff) | |
download | gentoo-ad6d3af31097fc102dcc3c689095a989d9f09e4c.tar.gz gentoo-ad6d3af31097fc102dcc3c689095a989d9f09e4c.tar.bz2 gentoo-ad6d3af31097fc102dcc3c689095a989d9f09e4c.zip |
dev-ml/biniou: bump to 1.2.0
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-ml/biniou/biniou-1.2.0.ebuild')
-rw-r--r-- | dev-ml/biniou/biniou-1.2.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ml/biniou/biniou-1.2.0.ebuild b/dev-ml/biniou/biniou-1.2.0.ebuild new file mode 100644 index 000000000000..6a9705355a2a --- /dev/null +++ b/dev-ml/biniou/biniou-1.2.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit findlib + +DESCRIPTION="A binary data serialization format inspired by JSON for OCaml" +HOMEPAGE="https://github.com/mjambon/biniou" +SRC_URI="https://github.com/mjambon/biniou/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0/${PV}" +LICENSE="BSD" +KEYWORDS="~amd64" +IUSE="+ocamlopt" + +RDEPEND=">=dev-lang/ocaml-3.11:=[ocamlopt?] + dev-ml/easy-format:=[ocamlopt?] +" +DEPEND="${RDEPEND} + dev-ml/jbuilder + dev-ml/opam +" + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + --mandir="${ED}/usr/share/man" \ + ${PN}.install || die +} |