summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-14 22:35:57 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-15 07:36:58 +0200
commit137bda16f0642fa693ee8b084eae9487d24ea3e3 (patch)
treec04982934da22b99b23e2f5431928f00d16ad8cb /dev-ml
parentdev-ml/ocaml-migrate-parsetree: bump to 1.0.3 (diff)
downloadgentoo-137bda16f0642fa693ee8b084eae9487d24ea3e3.tar.gz
gentoo-137bda16f0642fa693ee8b084eae9487d24ea3e3.tar.bz2
gentoo-137bda16f0642fa693ee8b084eae9487d24ea3e3.zip
dev-ml/ocaml-migrate-parsetree: convert to opam.eclass
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.3.ebuild19
1 files changed, 3 insertions, 16 deletions
diff --git a/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.3.ebuild b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.3.ebuild
index 57316b1bc302..da28219a5424 100644
--- a/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.3.ebuild
+++ b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.3.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit findlib
+inherit findlib opam
DESCRIPTION="Convert OCaml parsetrees between different major versions"
HOMEPAGE="https://github.com/let-def/ocaml-migrate-parsetree"
@@ -14,20 +14,7 @@ SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
IUSE=""
-DEPEND="
- dev-lang/ocaml:=
- dev-ml/result:=
-"
+DEPEND="dev-ml/result:="
RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
- dev-ml/jbuilder
- dev-ml/opam"
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- --mandir="${ED}/usr/share/man" \
- ${PN}.install || die
-}
+ dev-ml/jbuilder"