summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/zmq/Manifest1
-rw-r--r--dev-ml/zmq/zmq-5.3.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ml/zmq/Manifest b/dev-ml/zmq/Manifest
index df4e516c7a95..1ff83498af0c 100644
--- a/dev-ml/zmq/Manifest
+++ b/dev-ml/zmq/Manifest
@@ -1 +1,2 @@
DIST ocaml-zmq-5.2.1.tar.gz 33027 BLAKE2B 935468c29394abaac36fdea922f82b525f0cdaf35365b893a0186cc54e9b0a4e3fa25a9d8362addad52e89a3b930d36974590c481647c19a55fca8fdfef68bf3 SHA512 85d1b16f8e9d6abc24e175b7dd3574585f4d854f5355bb67797f8651eea3f0835ade03a28d5d9e8dbd5cb5573f517e271854099ee91a79835c2d84076983dff4
+DIST ocaml-zmq-5.3.0.tar.gz 35119 BLAKE2B ce5a51ccbf6cab1d500adaa08dbab39fc9fe90d6c1173af7388ff8d4f7ebe11158d944368179b1d350b140baeee8b63a5bd5cafdb663b7df3f2754c10bdbf1f3 SHA512 7db98b584fb86574eb925871ffac0751d5bb17a56e6945fe10349ef9455f90f0971bac5102bd5a6fe4c7a2067ccd88b99643a2f27257b009f489e457e03d0726
diff --git a/dev-ml/zmq/zmq-5.3.0.ebuild b/dev-ml/zmq/zmq-5.3.0.ebuild
new file mode 100644
index 000000000000..de9b7c6b4992
--- /dev/null
+++ b/dev-ml/zmq/zmq-5.3.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="OCaml bindings for ZeroMQ 4.x"
+HOMEPAGE="https://github.com/issuu/ocaml-zmq/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/issuu/ocaml-zmq.git"
+else
+ SRC_URI="https://github.com/issuu/ocaml-zmq/archive/${PV}.tar.gz
+ -> ocaml-zmq-${PV}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+S="${WORKDIR}"/ocaml-zmq-${PV}
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ net-libs/zeromq:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-ml/dune-configurator
+ test? ( dev-ml/ounit2 )
+"
+
+src_compile() {
+ dune-compile ${DUNE_PKG_NAME}
+}
+
+src_test() {
+ dune-test ${DUNE_PKG_NAME}
+}