summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-15 09:18:00 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-15 09:26:11 +0200
commit773261ec8610f9a6d72dacaf964b50be72c3d4d2 (patch)
tree4c6d514bcee7bd4fff083ceca8fa48411767359d /dev-ml/ppx_sexp_value
parentdev-ml/ppx_traverse_builtins: convert to opam.eclass (diff)
downloadgentoo-773261ec8610f9a6d72dacaf964b50be72c3d4d2.tar.gz
gentoo-773261ec8610f9a6d72dacaf964b50be72c3d4d2.tar.bz2
gentoo-773261ec8610f9a6d72dacaf964b50be72c3d4d2.zip
dev-ml/ppx_sexp_value: convert to opam.eclass
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-ml/ppx_sexp_value')
-rw-r--r--dev-ml/ppx_sexp_value/ppx_sexp_value-0.9.0.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-ml/ppx_sexp_value/ppx_sexp_value-0.9.0.ebuild b/dev-ml/ppx_sexp_value/ppx_sexp_value-0.9.0.ebuild
index a5901d07f62b..5418fe3f3637 100644
--- a/dev-ml/ppx_sexp_value/ppx_sexp_value-0.9.0.ebuild
+++ b/dev-ml/ppx_sexp_value/ppx_sexp_value-0.9.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="Standard library for ppx rewriters"
HOMEPAGE="https://github.com/janestreet/ppx_sexp_value"
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_core:=
dev-ml/ppx_driver:=
dev-ml/ppx_here:=
@@ -23,12 +24,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"