commit:     a3bc493d588f34c21bc85e77fb9b9f46e9921bd6
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  6 13:05:47 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 13:11:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3bc493d

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 2568208295b..7e74c530acf 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
 }

Reply via email to