dev-ml/zmq - 5.3.0 (gentoo)

Search

Package Information

Description:
OCaml bindings for ZeroMQ 4.x
Homepage:
https://github.com/issuu/ocaml-zmq/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
5.3.0 8 ~amd64 ~x86 0/5.3.0
View Raw Ebuild
# 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}
}

USE Flags

ocamlopt
Default: Enabled (+)

Dependencies

DEPEND

	net-libs/zeromq:=

RDEPEND

	net-libs/zeromq:=

BDEPEND

	dev-ml/dune-configurator
	test? ( dev-ml/ounit2 )

Manifest for 5.3.0

Type File Size Source URLs
DIST ocaml-zmq-5.3.0.tar.gz 35119 bytes https://github.com/issuu/ocaml-zmq/archive/5.3.0.tar.gz