summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-05-01 19:02:20 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-05-03 11:13:52 +0200
commit7b876a378743ea806407966eeb75487a62b7754d (patch)
tree30dffad725f2050450bf45683d1c1d7d4297c900 /dev-ml
parentdev-ml/dose3: do not enable parmap by default (diff)
downloadgentoo-7b876a378743ea806407966eeb75487a62b7754d.tar.gz
gentoo-7b876a378743ea806407966eeb75487a62b7754d.tar.bz2
gentoo-7b876a378743ea806407966eeb75487a62b7754d.zip
dev-ml/js-build-tools: initial import; ebuild by me
Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/js-build-tools/Manifest1
-rw-r--r--dev-ml/js-build-tools/js-build-tools-113.33.03.ebuild40
-rw-r--r--dev-ml/js-build-tools/metadata.xml11
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-ml/js-build-tools/Manifest b/dev-ml/js-build-tools/Manifest
new file mode 100644
index 000000000000..d232eb3a0ae6
--- /dev/null
+++ b/dev-ml/js-build-tools/Manifest
@@ -0,0 +1 @@
+DIST js-build-tools-113.33.03.tar.gz 52884 SHA256 eb3e7a444bde32c20d910be4da774200f12dd01b157533de903409c3d0cb013a SHA512 4c5c6a7d98977900e130607fc2ce2aee683a0f73f2bc559078aaf0df35815d670be55bb429892238ba3d10f655d300d031b3b1d20a0717426c15292e5aeebf66 WHIRLPOOL f8e8e0d053d36681f69a587a6dfc011c7c559069a8b73eec7567777e10c1f41b8c98102f991ea74799e27340b8f72b8ac9c25ed3488c40ca2953517a8e10e5aa
diff --git a/dev-ml/js-build-tools/js-build-tools-113.33.03.ebuild b/dev-ml/js-build-tools/js-build-tools-113.33.03.ebuild
new file mode 100644
index 000000000000..deec719b6b8f
--- /dev/null
+++ b/dev-ml/js-build-tools/js-build-tools-113.33.03.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="Collection of tools to help building Jane Street Packages"
+HOMEPAGE="https://github.com/janestreet/js-build-tools"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND} dev-ml/opam"
+
+src_configure() {
+ emake setup.exe
+ OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ ${PN}.install || die
+ dodoc README.md
+}
diff --git a/dev-ml/js-build-tools/metadata.xml b/dev-ml/js-build-tools/metadata.xml
new file mode 100644
index 000000000000..91d86fdbaf9e
--- /dev/null
+++ b/dev-ml/js-build-tools/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="bitbucket">yminsky/ocaml-core</remote-id>
+ </upstream>
+</pkgmetadata>