summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/spawn')
-rw-r--r--dev-ml/spawn/spawn-0.9.0.ebuild16
1 files changed, 4 insertions, 12 deletions
diff --git a/dev-ml/spawn/spawn-0.9.0.ebuild b/dev-ml/spawn/spawn-0.9.0.ebuild
index 14fbced82e95..20fe4468b71d 100644
--- a/dev-ml/spawn/spawn-0.9.0.ebuild
+++ b/dev-ml/spawn/spawn-0.9.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="Spawning sub-processes"
HOMEPAGE="https://github.com/janestreet/spawn"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -12,16 +14,6 @@ SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
-DEPEND="
- dev-lang/ocaml:=
- "
+DEPEND=""
RDEPEND="${DEPEND}"
-DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder"
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- ${PN}.install || die
-}
+DEPEND="${DEPEND} dev-ml/jbuilder"