dev-ml/ocaml-migrate-parsetree: convert to opam.eclass

Package-Manager: Portage-2.3.7, Repoman-2.3.3
This commit is contained in:
Alexis Ballier
2017-08-15 07:36:58 +02:00
parent cd16261097
commit 137bda16f0
@@ -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"