diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-05-09 00:24:50 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-05-09 00:48:58 +0200 |
commit | 5afce7b17163b47ff8fb4df89c9f93aa3ef94a08 (patch) | |
tree | 47d7c9e71a056fe52720e3b1342f3cd64872905c /net-libs/czmq | |
parent | media-sound/tomahawk: EAPI-7 bump, use cmake.eclass, build w/ Qt 5.15 (diff) | |
download | gentoo-5afce7b17163b47ff8fb4df89c9f93aa3ef94a08.tar.gz gentoo-5afce7b17163b47ff8fb4df89c9f93aa3ef94a08.tar.bz2 gentoo-5afce7b17163b47ff8fb4df89c9f93aa3ef94a08.zip |
net-libs/czmq: bump to v4.2.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-libs/czmq')
-rw-r--r-- | net-libs/czmq/Manifest | 1 | ||||
-rw-r--r-- | net-libs/czmq/czmq-4.2.0.ebuild | 52 | ||||
-rw-r--r-- | net-libs/czmq/metadata.xml | 18 |
3 files changed, 67 insertions, 4 deletions
diff --git a/net-libs/czmq/Manifest b/net-libs/czmq/Manifest index cffa7457c166..591483441d88 100644 --- a/net-libs/czmq/Manifest +++ b/net-libs/czmq/Manifest @@ -1,2 +1,3 @@ DIST czmq-2.2.0.tar.gz 592293 BLAKE2B 72318a3c57960a463adae8838f3a51fc8319451773dfa84a401d664604c056b02f387ae6c2a598253e6bcc4dc19e72ca41de4252a6c853e1d3a6f9ade9617138 SHA512 51825e8a62a53cb3ac5fcf95b217e7dceb1745d31e243679e3c6ad0c7cce26e5844119bd054312e3764f0299df7e26bf9373a68cb1e7afc675966aa616a90ab6 DIST czmq-3.0.2.tar.gz 818110 BLAKE2B da6da496f50374cdd7daf7978529baa1e1d3fbe51a4e57e753362a3dd67bdd94324b97f133bbb4eaa397f76c102a411a2aedc6d22deae499191da60a101fdf2e SHA512 ed2b97eb9b20ee8e491ba4c100920af0a54d146cb01c227fdef66939cdf4747c779d950df52e68782c68cfce1d4579b4870b005a8c58a32b477de2414b8b6453 +DIST czmq-4.2.0.tar.gz 1522824 BLAKE2B 2b2ec308f37a122d5478f63ed029c5ac01d8da40e676e812ec321e039839c7d364fef3eef67df928e6514f0fd2cd65ae35ba89347ead2b44c610812a012364dd SHA512 a3716efbece193196355fb7055b7e81067d29551765de2533178804ca5d85f98cd8cd01f88b4eecbea905adf3b7513e3b8a7e78e350adf1a6e69edbea5f6260c diff --git a/net-libs/czmq/czmq-4.2.0.ebuild b/net-libs/czmq/czmq-4.2.0.ebuild new file mode 100644 index 000000000000..77ee24c0d326 --- /dev/null +++ b/net-libs/czmq/czmq-4.2.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit autotools + +DESCRIPTION="High-level C Binding for ZeroMQ" +HOMEPAGE="http://czmq.zeromq.org" +SRC_URI="https://github.com/zeromq/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0/4" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86" +IUSE="curl drafts http-client http-server lz4 static-libs systemd +uuid" + +BDEPEND="app-text/asciidoc + app-text/xmlto + virtual/pkgconfig" + +RDEPEND=">=net-libs/zeromq-4:=[drafts?] + http-client? ( net-misc/curl ) + http-server? ( net-libs/libmicrohttpd:= ) + lz4? ( app-arch/lz4:= ) + systemd? ( sys-apps/systemd ) + uuid? ( sys-apps/util-linux:0= )" + +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS NEWS README.md ) + +src_configure() { + local myeconfargs=( + --enable-drafts=$(usex drafts) + --with-docs=no + --with-uuid=$(usex uuid) + --with-libcurl=$(usex http-client) + --with-libmicrohttpd=$(usex http-server) + --with-libsystemd=$(usex systemd) + --with-liblz4=$(usex lz4) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if ! use static-libs ; then + find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die + fi +} diff --git a/net-libs/czmq/metadata.xml b/net-libs/czmq/metadata.xml index 7c5a822d2398..b25aa418bfb6 100644 --- a/net-libs/czmq/metadata.xml +++ b/net-libs/czmq/metadata.xml @@ -1,8 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>jlec@gentoo.org</email> - <name>Justin Lecher</name> - </maintainer> + <maintainer type="person"> + <email>jlec@gentoo.org</email> + <name>Justin Lecher</name> + </maintainer> + <use> + <flag name="drafts"> + Build draft API, which may change at any time without any + notice, and is therefore not recommended for normal use. + (requires draft support in <pkg>net-libs/zeromq</pkg> as well) + </flag> + <flag name="http-client">Build support for HTTP client using <pkg>net-misc/curl</pkg></flag> + <flag name="http-server">Build support for HTTP server using <pkg>net-libs/libmicrohttpd</pkg></flag> + <flag name="uuid">Enable UUID support using <pkg>sys-apps/util-linux</pkg></flag> + </use> </pkgmetadata> |