diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-08-06 14:29:17 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-08-06 14:30:28 +0200 |
commit | 319d34a0a150ee00b556be7e455860772bb2e391 (patch) | |
tree | 99d07d98a035500bc675e31b28df066b42f4f703 /dev-ml/reason | |
parent | dev-ml/reason-parser: update to opam.eclass (diff) | |
download | gentoo-319d34a0a150ee00b556be7e455860772bb2e391.tar.gz gentoo-319d34a0a150ee00b556be7e455860772bb2e391.tar.bz2 gentoo-319d34a0a150ee00b556be7e455860772bb2e391.zip |
dev-ml/reason: update to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
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 1ef34e4b334f..0fc83b36497d 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 -} |