dev-ml/onanomsg: convert to opam.eclass
authorAlexis Ballier <aballier@gentoo.org>
Fri, 6 Oct 2017 13:05:47 +0000 (15:05 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 6 Oct 2017 13:11:14 +0000 (15:11 +0200)
Package-Manager: Portage-2.3.11, Repoman-2.3.3

dev-ml/onanomsg/onanomsg-1.0-r1.ebuild

index 2568208295b2a13575809f9f4d1596248dbcd598..7e74c530acf206f93045f0e9309a28281b6ace28 100644 (file)
@@ -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
 }