summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/jane-street-headers')
-rw-r--r--dev-ml/jane-street-headers/Manifest1
-rw-r--r--dev-ml/jane-street-headers/jane-street-headers-0.9.0.ebuild27
-rw-r--r--dev-ml/jane-street-headers/metadata.xml8
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-ml/jane-street-headers/Manifest b/dev-ml/jane-street-headers/Manifest
new file mode 100644
index 000000000000..f8cc92eb1180
--- /dev/null
+++ b/dev-ml/jane-street-headers/Manifest
@@ -0,0 +1 @@
+DIST jane-street-headers-0.9.0.tar.gz 6713 SHA256 61bc568080fd38a4b73aa036a38bc349b5481c77bcc91bf52584688e23ac65f5 SHA512 dbd1198b7eb45f06f7df6e9c5b66589b6004e9424f2ecdd50d20c3dc2f35048c42f9220f1d03b4b6564e7a79d00dbe3b3c9c767600e78d066266093b8d93ad46 WHIRLPOOL 7c34cb707d39133f355c692d808e8b2158ea0546d286efa82b6f355d906cb78e772725f8a669e20c7b3dc8aa34bf507ef8fadad24d2498643569ac07fb88c938
diff --git a/dev-ml/jane-street-headers/jane-street-headers-0.9.0.ebuild b/dev-ml/jane-street-headers/jane-street-headers-0.9.0.ebuild
new file mode 100644
index 000000000000..66f7cb6cec81
--- /dev/null
+++ b/dev-ml/jane-street-headers/jane-street-headers-0.9.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Jane Street header files"
+HOMEPAGE="https://github.com/janestreet/jane-street-headers"
+SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ dev-lang/ocaml:=
+ "
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder"
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ ${PN}.install || die
+}
diff --git a/dev-ml/jane-street-headers/metadata.xml b/dev-ml/jane-street-headers/metadata.xml
new file mode 100644
index 000000000000..ffac4d7ebc01
--- /dev/null
+++ b/dev-ml/jane-street-headers/metadata.xml
@@ -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>