diff options
Diffstat (limited to 'dev-ml/reason')
-rw-r--r-- | dev-ml/reason/reason-2.0.0.ebuild | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/dev-ml/reason/reason-2.0.0.ebuild b/dev-ml/reason/reason-2.0.0.ebuild index 1ef34e4b334..0fc83b36497 100644 --- a/dev-ml/reason/reason-2.0.0.ebuild +++ b/dev-ml/reason/reason-2.0.0.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit opam + DESCRIPTION="Meta Language Toolchain" HOMEPAGE="https://github.com/facebook/reason" SRC_URI="https://github.com/facebook/reason/archive/${PV}.tar.gz -> ${P}.tar.gz" @@ -13,7 +15,6 @@ KEYWORDS="~amd64" IUSE="+ocamlopt" DEPEND=" - dev-lang/ocaml:=[ocamlopt?] dev-ml/reason-parser:= dev-ml/merlin-extend:= dev-ml/result:= @@ -25,18 +26,9 @@ RDEPEND="${DEPEND}" DEPEND="${DEPEND} dev-ml/findlib dev-ml/ocamlbuild - dev-ml/opam" +" src_compile() { emake precompile emake build } - -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 -} |