diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-10-06 15:07:12 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-10-06 15:11:14 +0200 |
commit | 3634414098191ca8f4ed2a3bb06fca504f62b611 (patch) | |
tree | e60b99be8a2942213833d2c5eec3764a39b0dd76 /dev-ml | |
parent | dev-ml/onanomsg: convert to opam.eclass (diff) | |
download | gentoo-3634414098191ca8f4ed2a3bb06fca504f62b611.tar.gz gentoo-3634414098191ca8f4ed2a3bb06fca504f62b611.tar.bz2 gentoo-3634414098191ca8f4ed2a3bb06fca504f62b611.zip |
dev-ml/ocaml-websocket: update to opam.eclass
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/ocaml-websocket/ocaml-websocket-2.9.ebuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-ml/ocaml-websocket/ocaml-websocket-2.9.ebuild b/dev-ml/ocaml-websocket/ocaml-websocket-2.9.ebuild index 6dd48459ec42..359784d9c447 100644 --- a/dev-ml/ocaml-websocket/ocaml-websocket-2.9.ebuild +++ b/dev-ml/ocaml-websocket/ocaml-websocket-2.9.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit opam + DESCRIPTION="Websocket library for OCaml" HOMEPAGE="https://github.com/vbmithr/ocaml-websocket" SRC_URI="https://github.com/vbmithr/ocaml-websocket/archive/${PV}.tar.gz -> ${P}.tar.gz" @@ -28,7 +30,6 @@ DEPEND=" " RDEPEND="${DEPEND}" DEPEND="${DEPEND} - dev-ml/opam dev-ml/ocamlbuild" src_compile() { @@ -45,10 +46,6 @@ src_compile() { } src_install() { - opam-installer -i \ - --prefix="${ED}/usr" \ - --libdir="${D}/$(ocamlc -where)" \ - --docdir="${ED}/usr/share/doc/${PF}" \ - websocket.install || die + opam_src_install websocket dodoc README CHANGES } |