summaryrefslogtreecommitdiff
path: root/dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3-r1.ebuild
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2025-07-19 12:01:39 +0200
committerAlfredo Tupone <tupone@gentoo.org>2025-07-19 12:02:45 +0200
commit79b4d8ee39057173eafc60a29f6d01fbd7f83a5a (patch)
treefdb6b9920ce5ba8dfd80026925529aa738fac708 /dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3-r1.ebuild
parent338716b59aa9c5a5405bb5d6e06068b5c83f663e (diff)
downloadgentoo-79b4d8ee39057173eafc60a29f6d01fbd7f83a5a.tar.gz
gentoo-79b4d8ee39057173eafc60a29f6d01fbd7f83a5a.tar.bz2
gentoo-79b4d8ee39057173eafc60a29f6d01fbd7f83a5a.zip
dev-ml/pcre2-ocaml: add libprec2 deps
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3-r1.ebuild')
-rw-r--r--dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3-r1.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3-r1.ebuild b/dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3-r1.ebuild
new file mode 100644
index 000000000000..dc9bbbdf97fb
--- /dev/null
+++ b/dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DUNE_PKG_NAME=pcre2
+inherit dune
+
+DESCRIPTION="OCaml bindings to PCRE (Perl Compatibility Regular Expressions)"
+HOMEPAGE="https://github.com/camlp5/pcre2-ocaml"
+SRC_URI="https://github.com/camlp5/${PN}/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libpcre2:=
+ dev-ml/dune-configurator:=[ocamlopt?]
+"
+BDEPEND="test? ( dev-ml/ounit2 )"