dev-ml/ocaml-websocket: update to opam.eclass

Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
Alexis Ballier
2017-10-06 15:07:12 +02:00
parent a3bc493d58
commit 3634414098

View File

@@ -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
}