summaryrefslogtreecommitdiff
path: root/dev-ml/spawn
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-02 13:14:33 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-02 13:22:51 +0200
commit27cce2f6a83c3b8c3756abe200fabf4d65c16e29 (patch)
tree3ee128cb3705a2faff5ab0371e41ae5fa1cd1b12 /dev-ml/spawn
parentf0d63c0e5a6e0e0e123af03b187a9d4950bedac7 (diff)
downloadgentoo-27cce2f6a83c3b8c3756abe200fabf4d65c16e29.tar.gz
gentoo-27cce2f6a83c3b8c3756abe200fabf4d65c16e29.tar.xz
dev-ml/spawn: conver to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
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 14fbced82e9..20fe4468b71 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"