summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-15 09:25:59 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-15 09:26:17 +0200
commitac6d398e555085a93347c75bb246713867417a76 (patch)
tree2b8394c4c8a9d9a50088249d4f119bc3194a5679 /dev-ml
parentdev-ml/ppx_import: convert to opam.eclass (diff)
downloadgentoo-ac6d398e555085a93347c75bb246713867417a76.tar.gz
gentoo-ac6d398e555085a93347c75bb246713867417a76.tar.bz2
gentoo-ac6d398e555085a93347c75bb246713867417a76.zip
dev-ml/ppx_hash: convert to opam.eclass
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ppx_hash/ppx_hash-0.9.0.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-ml/ppx_hash/ppx_hash-0.9.0.ebuild b/dev-ml/ppx_hash/ppx_hash-0.9.0.ebuild
index 8efaec8c338f..e46e6394889f 100644
--- a/dev-ml/ppx_hash/ppx_hash-0.9.0.ebuild
+++ b/dev-ml/ppx_hash/ppx_hash-0.9.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="PPX rewriter that generates hash functions from type expressions and definitions"
HOMEPAGE="https://github.com/janestreet/ppx_hash"
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/base:=
dev-ml/ppx_compare:=
dev-ml/ppx_core:=
@@ -24,12 +25,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"