summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/onanomsg')
-rw-r--r--dev-ml/onanomsg/onanomsg-1.0-r1.ebuild8
1 files 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
}