From: Alexis Ballier Date: Wed, 2 Aug 2017 10:09:59 +0000 (+0200) Subject: dev-ml/yojson: convert to opam.eclass X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a2860b77dc20bc18d7473d63e247383621fd765b;p=gentoo.git dev-ml/yojson: convert to opam.eclass Package-Manager: Portage-2.3.6, Repoman-2.3.3 --- diff --git a/dev-ml/yojson/yojson-1.4.0.ebuild b/dev-ml/yojson/yojson-1.4.0.ebuild index 5de703f5a055..e3b9f39c5175 100644 --- a/dev-ml/yojson/yojson-1.4.0.ebuild +++ b/dev-ml/yojson/yojson-1.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=5 -inherit findlib +inherit findlib opam DESCRIPTION="JSON parsing and pretty-printing library for OCaml" HOMEPAGE="http://mjambon.com/yojson.html https://github.com/mjambon/yojson" @@ -21,15 +21,10 @@ RDEPEND=">=dev-lang/ocaml-3.11:=[ocamlopt] DEPEND="${RDEPEND} dev-ml/cppo dev-ml/jbuilder - dev-ml/cppo " src_install() { - opam-installer -i \ - --prefix="${ED}/usr" \ - --libdir="${D}/$(ocamlc -where)" \ - --docdir="${ED}/usr/share/doc/${PF}" \ - ${PN}.install || die + opam_src_install if use examples ; then dodoc -r examples