| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 4.11.0 | 8 | ~amd64 ~arm ~arm64 ~riscv ~x86 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="High-level CPP Binding for ZeroMQ"
HOMEPAGE="https://github.com/zeromq/cppzmq"
SRC_URI="https://github.com/zeromq/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=">=net-libs/zeromq-4.3.1"
# Tests require cmake modules from catch2 and headers from older version of catch
DEPEND="${RDEPEND}
test? ( =dev-cpp/catch-3* )"
PATCHES=(
"${FILESDIR}/${PN}-4.9.0-disable-static.patch"
)
src_configure() {
local mycmakeargs=(
-DCPPZMQ_CMAKECONFIG_INSTALL_DIR="/usr/$(get_libdir)/cmake/${PN}/"
-DCPPZMQ_BUILD_TESTS="$(usex test)"
)
if has_version -d '>=net-libs/zeromq-4.3.1[drafts]'; then
mycmakeargs+=( -DENABLE_DRAFTS=on )
fi
cmake_src_configure
}
>=net-libs/zeromq-4.3.1 test? ( =dev-cpp/catch-3* )
>=net-libs/zeromq-4.3.1
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | cppzmq-4.11.0.tar.gz | 49666 bytes | https://github.com/zeromq/cppzmq/archive/v4.11.0.tar.gz |