summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-15 09:24:25 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-15 09:26:14 +0200
commitb3c6996b11eed8a2ee292085d6b41ee7dd3ed1ba (patch)
treed7d0e0582ef028d7b995d346a8fdb0ce2ffd5857 /dev-ml/ppx_jane
parentdev-ml/ppx_js_style: convert to opam.eclass (diff)
downloadgentoo-b3c6996b11eed8a2ee292085d6b41ee7dd3ed1ba.tar.gz
gentoo-b3c6996b11eed8a2ee292085d6b41ee7dd3ed1ba.tar.bz2
gentoo-b3c6996b11eed8a2ee292085d6b41ee7dd3ed1ba.zip
dev-ml/ppx_jane: convert to opam.eclass
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-ml/ppx_jane')
-rw-r--r--dev-ml/ppx_jane/ppx_jane-0.9.0.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-ml/ppx_jane/ppx_jane-0.9.0.ebuild b/dev-ml/ppx_jane/ppx_jane-0.9.0.ebuild
index 474e824f7f87..4daefb2677a4 100644
--- a/dev-ml/ppx_jane/ppx_jane-0.9.0.ebuild
+++ b/dev-ml/ppx_jane/ppx_jane-0.9.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="Standard Jane Street ppx rewriters"
HOMEPAGE="https://github.com/janestreet/ppx_jane"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -13,7 +15,6 @@ KEYWORDS="~amd64"
IUSE=""
DEPEND="
- dev-lang/ocaml:=
dev-ml/ppx_assert:=
dev-ml/ppx_base:=
dev-ml/ppx_bench:=
@@ -36,12 +37,4 @@ DEPEND="
dev-ml/ocaml-migrate-parsetree:=
"
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"