From a3bc493d588f34c21bc85e77fb9b9f46e9921bd6 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 6 Oct 2017 15:05:47 +0200 Subject: [PATCH] dev-ml/onanomsg: convert to opam.eclass Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- dev-ml/onanomsg/onanomsg-1.0-r1.ebuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dev-ml/onanomsg/onanomsg-1.0-r1.ebuild b/dev-ml/onanomsg/onanomsg-1.0-r1.ebuild index 2568208295b2..7e74c530acf2 100644 --- a/dev-ml/onanomsg/onanomsg-1.0-r1.ebuild +++ b/dev-ml/onanomsg/onanomsg-1.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=5 -inherit findlib eutils +inherit opam eutils DESCRIPTION="nanomsg bindings for OCaml" HOMEPAGE="https://github.com/rgrinberg/onanomsg" @@ -45,10 +45,6 @@ src_compile() { } src_install() { - opam-installer \ - --prefix="${ED}/usr" \ - --libdir="${D}/$(ocamlc -where)" \ - --docdir="${ED}/usr/share/doc/${PF}" \ - || die + opam_src_install nanomsg dodoc CHANGES README.md } -- 2.26.2