diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-06-02 12:49:35 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-06-03 17:13:25 +0200 |
commit | 654f417c8999c7966df7b24eb3c5fe6f5987cadc (patch) | |
tree | 65cec57e42d83547dd78dc500ac28cde8af6f42d /dev-ml | |
parent | dev-ml/reason-parser: bump to 2.0.0 (diff) | |
download | gentoo-654f417c8999c7966df7b24eb3c5fe6f5987cadc.tar.gz gentoo-654f417c8999c7966df7b24eb3c5fe6f5987cadc.tar.bz2 gentoo-654f417c8999c7966df7b24eb3c5fe6f5987cadc.zip |
dev-ml/reason: bump to 2.0.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/reason/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/reason/reason-2.0.0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ml/reason/Manifest b/dev-ml/reason/Manifest index c4fa2868ad34..0c9b94c82dff 100644 --- a/dev-ml/reason/Manifest +++ b/dev-ml/reason/Manifest @@ -1 +1,2 @@ DIST reason-1.13.5.tar.gz 6681110 SHA256 d769e15e507ae401e5f7d8e59a1c327729824dd9914d05d7fe0ee51c84afeb2f SHA512 e47836281fb36094358f746b3460ac9671782fbf51058b220f5fe2be060592db75b688c917e162345c3fdcf8822d9b7fad0483ae274a97ccf640bdd7853510a9 WHIRLPOOL 21e86a487263735af8968577f4b3dc8fb4492c9b831b24e27faf30d421e0e164342bc76661fa674c90a2bb78b911639ea12e5eb7562cb6144c6b0d414844e4fe +DIST reason-2.0.0.tar.gz 6639139 SHA256 cfc2fc6416d00584047fc67eade5c6215cec5ea4c818cd7fe5b4d03d311ea3a8 SHA512 5e8fb81193de90fcf95ae39e66dab6b7638f1b6f37f7f438c3692e67de8f33667eca92e76df4968ad794e4bd02674583203e1058f1e990f3f6e87d8ce1fbbb43 WHIRLPOOL 8eb8395372aac8952bce2c0cfa58ab364cbedc46eb6f4e34ac496e95bb9729134f374cb42f59bd398f6ce9c68025e9c92259fb750381a0b11cf934b05aba1f0d diff --git a/dev-ml/reason/reason-2.0.0.ebuild b/dev-ml/reason/reason-2.0.0.ebuild new file mode 100644 index 000000000000..1ef34e4b334f --- /dev/null +++ b/dev-ml/reason/reason-2.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Meta Language Toolchain" +HOMEPAGE="https://github.com/facebook/reason" +SRC_URI="https://github.com/facebook/reason/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt" + +DEPEND=" + dev-lang/ocaml:=[ocamlopt?] + dev-ml/reason-parser:= + dev-ml/merlin-extend:= + dev-ml/result:= + dev-ml/topkg:= + dev-ml/ocaml-migrate-parsetree:= + dev-ml/utop:= +" +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 +} |