mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-ml/ocaml-websocket: update to opam.eclass
Package-Manager: Portage-2.3.11, Repoman-2.3.3
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user