mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-ml/reason: Initial import. Ebuild by me.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
1
dev-ml/reason/Manifest
Normal file
1
dev-ml/reason/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST reason-1.13.3.tar.gz 10253108 SHA256 b92840f8238dd6266c5678da3e4dc832776bcc98990ac47773020e34dce708a6 SHA512 82398fbbf72bcadfc868e5f33e8666ef80ef610f8313d08bc16593944569b7a16693fcc6397a117518bf8e32f71083f0ac4a416112f97cd220715f4293136b84 WHIRLPOOL a82dd8e28a012ed0716fba6bc79eee849110bfb42cd8221eb15847cadae90d62d909e635f3da465c6220382d6eee62f2f69a739d96d3d6a5baddc58623cd059e
|
||||
8
dev-ml/reason/metadata.xml
Normal file
8
dev-ml/reason/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ml@gentoo.org</email>
|
||||
<name>Gentoo ML Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
42
dev-ml/reason/reason-1.13.3.ebuild
Normal file
42
dev-ml/reason/reason-1.13.3.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user