summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/core_bench')
-rw-r--r--dev-ml/core_bench/Manifest1
-rw-r--r--dev-ml/core_bench/core_bench-113.24.00.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-ml/core_bench/Manifest b/dev-ml/core_bench/Manifest
index 6f63ccb22405..b7a4c06e150e 100644
--- a/dev-ml/core_bench/Manifest
+++ b/dev-ml/core_bench/Manifest
@@ -1 +1,2 @@
DIST core_bench-112.35.00.tar.gz 78192 SHA256 c2e925078412e9859458c539324d137f0aede17bf1b485961a4019609b733535 SHA512 b0ce326c6d5a5e8e44cb05b147e07cf02efbc60a18f1f6e740d1bd58e01dd373f868c42599e7818d5c3c54899b6d429b1155d79f8009833a01f173fe69c7aafc WHIRLPOOL a45e28e72d515c7240c25431471dc78cab69c6059ed6253823c85a90b03a91e62b3ef5f4cf30631a35b791d9bc3ca73307d5a60f0bbae0c2bfa464af2875fcbd
+DIST core_bench-113.24.00.tar.gz 86110 SHA256 8b282f66d57b869999483e41783abd098f4cc6c6b67de899c3590a3ef923cbea SHA512 03dbb61041269301f1cfb47da8302b7d0bfcdc2be34b023c834de6cad6fe7d57b4c83a42aaea7ef5f82c7b929bb2b6abd2fb518539cedb05c50cfccc19e898ee WHIRLPOOL dcd000c711c4865715bb1061edd952b39b1b2fdf5cd3dba0c41c74afc107920151e0a761c784403a2cafc12b6e9f38d7cc02b531963dc6d712c795332f41f34e
diff --git a/dev-ml/core_bench/core_bench-113.24.00.ebuild b/dev-ml/core_bench/core_bench-113.24.00.ebuild
new file mode 100644
index 000000000000..366ce6de14b8
--- /dev/null
+++ b/dev-ml/core_bench/core_bench-113.24.00.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Micro-benchmarking library for OCaml"
+HOMEPAGE="https://ocaml.janestreet.com/"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-ml/bin-prot:=
+ dev-ml/core:=
+ dev-ml/core_extended:=
+ dev-ml/fieldslib:=
+ dev-ml/ppx_assert:=
+ dev-ml/ppx_bench:=
+ dev-ml/ppx_driver:=
+ dev-ml/ppx_expect:=
+ dev-ml/ppx_inline_test:=
+ dev-ml/ppx_jane:=
+ dev-ml/sexplib:=
+ dev-ml/textutils:=
+ dev-ml/typerep:=
+ dev-ml/variantslib:=
+"
+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 CHANGES.md
+}