summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml_intrinsics/Manifest1
-rw-r--r--dev-ml/ocaml_intrinsics/metadata.xml11
-rw-r--r--dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.15.1.ebuild22
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-ml/ocaml_intrinsics/Manifest b/dev-ml/ocaml_intrinsics/Manifest
new file mode 100644
index 000000000000..308610b35240
--- /dev/null
+++ b/dev-ml/ocaml_intrinsics/Manifest
@@ -0,0 +1 @@
+DIST v0.15.1.tar.gz 24925 BLAKE2B 15d74ee891aced288aa734ef4d70a4816f2d2725d0d445620154bec7d1667d3ac06c5ddd778777d15858cbf198ecd978b22959fe68e159ddd9dbbd32304c3077 SHA512 cb0ac26bc34c97eb0429e6833342dbd9fca6f1f4a40b8121f9e6364bd2cdc40676a164d7405454727ced9a4455adb0e3cac5118beb7ab70206adbd3e7f7937e2
diff --git a/dev-ml/ocaml_intrinsics/metadata.xml b/dev-ml/ocaml_intrinsics/metadata.xml
new file mode 100644
index 000000000000..fec13523d489
--- /dev/null
+++ b/dev-ml/ocaml_intrinsics/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">janestreet/ocaml_instrinsics</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.15.1.ebuild b/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.15.1.ebuild
new file mode 100644
index 000000000000..8e29520e8c44
--- /dev/null
+++ b/dev-ml/ocaml_intrinsics/ocaml_intrinsics-0.15.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="invoke amd64 instructions (such as clz,popcnt,rdtsc,rdpmc)"
+HOMEPAGE="https://github.com/janestreet/ocaml_intrinsics"
+SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+DEPEND="
+ >=dev-lang/ocaml-4.08
+ dev-ml/dune-configurator:=
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""