dev-ml/ocaml-migrate-parsetree: convert to opam.eclass
authorAlexis Ballier <aballier@gentoo.org>
Mon, 14 Aug 2017 20:35:57 +0000 (22:35 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 15 Aug 2017 05:36:58 +0000 (07:36 +0200)
Package-Manager: Portage-2.3.7, Repoman-2.3.3

dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.3.ebuild

index 57316b1bc302c866af071f7354609f4874f998c7..da28219a54245a3f3221b5298aa5c8fd34bf7760 100644 (file)
@@ -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"