summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-10-06 15:05:47 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-10-06 15:11:14 +0200
commita3bc493d588f34c21bc85e77fb9b9f46e9921bd6 (patch)
treec2e9091980f5ffb3982bfed4e2ddd55395d9d795 /dev-ml
parentdev-ml/ocaml-ctypes: bump to 0.13.0 (diff)
downloadgentoo-a3bc493d588f34c21bc85e77fb9b9f46e9921bd6.tar.gz
gentoo-a3bc493d588f34c21bc85e77fb9b9f46e9921bd6.tar.bz2
gentoo-a3bc493d588f34c21bc85e77fb9b9f46e9921bd6.zip
dev-ml/onanomsg: convert to opam.eclass
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'dev-ml')
-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
}