summaryrefslogtreecommitdiff
path: root/dev-ml/base/base-0.16.3-r1.ebuild
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-12-29 22:31:21 +0100
committerAlfredo Tupone <tupone@gentoo.org>2023-12-29 22:32:08 +0100
commitab5da3a3c54661d152e77015e99cb1584b3584df (patch)
tree8adb64f468803c3a1b8b05fc6ff1706bdb94ea9d /dev-ml/base/base-0.16.3-r1.ebuild
parentda0b39b6e79886369044be36c31124bec2498794 (diff)
downloadgentoo-ab5da3a3c54661d152e77015e99cb1584b3584df.tar.gz
gentoo-ab5da3a3c54661d152e77015e99cb1584b3584df.tar.bz2
gentoo-ab5da3a3c54661d152e77015e99cb1584b3584df.zip
dev-ml/base: add ocamlopt USE depends
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
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}"