summaryrefslogtreecommitdiff
path: root/dev-ml/base/base-0.16.3-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/base/base-0.16.3-r1.ebuild')
-rw-r--r--dev-ml/base/base-0.16.3-r1.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-ml/base/base-0.16.3-r1.ebuild b/dev-ml/base/base-0.16.3-r1.ebuild
new file mode 100644
index 000000000000..0842c57f20db
--- /dev/null
+++ b/dev-ml/base/base-0.16.3-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Standard library for OCaml"
+HOMEPAGE="https://github.com/janestreet/base"
+SRC_URI="https://github.com/janestreet/base/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+
+RDEPEND="
+ >=dev-lang/ocaml-4.14.0
+ =dev-ml/sexplib0-0.16*:=[ocamlopt?]
+ dev-ml/dune-configurator:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"