From 43e62ad547e03feb69168ac971c6424ca5b2ae2e Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Sat, 9 May 2020 00:26:04 +0200 Subject: net-libs/czmq: rev bump to export subslot Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann --- net-libs/czmq/czmq-3.0.2-r1.ebuild | 56 ++++++++++++++++++++++++++++++++++++++ net-libs/czmq/czmq-3.0.2.ebuild | 56 -------------------------------------- 2 files changed, 56 insertions(+), 56 deletions(-) create mode 100644 net-libs/czmq/czmq-3.0.2-r1.ebuild delete mode 100644 net-libs/czmq/czmq-3.0.2.ebuild (limited to 'net-libs') diff --git a/net-libs/czmq/czmq-3.0.2-r1.ebuild b/net-libs/czmq/czmq-3.0.2-r1.ebuild new file mode 100644 index 000000000000..93acefb0a6bf --- /dev/null +++ b/net-libs/czmq/czmq-3.0.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils + +DESCRIPTION="High-level C Binding for ZeroMQ" +HOMEPAGE="http://czmq.zeromq.org" +SRC_URI="http://download.zeromq.org/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0/3" +KEYWORDS="amd64 arm ~arm64 hppa x86" +IUSE="doc static-libs test" + +RDEPEND=" + sys-apps/util-linux + net-libs/zeromq +" +DEPEND="${RDEPEND} + app-text/asciidoc + app-text/xmlto +" + +DOCS=( NEWS AUTHORS ) + +# Network access +RESTRICT=test + +src_prepare() { + use test && AUTOTOOLS_IN_SOURCE_BUILD=1 + sed -i -e 's|-Werror||g' configure.ac || die + + cat >> src/Makemodule-local.am <<-EOF + src_libczmq_la_LDFLAGS += -pthread + EOF + + autotools-utils_src_prepare +} + +src_test() { + autotools-utils_src_test check-verbose VERBOSE=1 +} + +src_install() { + autotools-utils_src_install + mv "${ED}"/usr/bin/makecert{,-czmq} || die + mv "${ED}"/usr/share/man/man1/makecert{,-cmzq}.1 || die +} + +pkg_postinst() { + elog "Due to file collisions we moved the makecert tool to makecert-${PN}." +} diff --git a/net-libs/czmq/czmq-3.0.2.ebuild b/net-libs/czmq/czmq-3.0.2.ebuild deleted file mode 100644 index 3bbe065064fc..000000000000 --- a/net-libs/czmq/czmq-3.0.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils - -DESCRIPTION="High-level C Binding for ZeroMQ" -HOMEPAGE="http://czmq.zeromq.org" -SRC_URI="http://download.zeromq.org/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 hppa x86" -IUSE="doc static-libs test" - -RDEPEND=" - sys-apps/util-linux - net-libs/zeromq -" -DEPEND="${RDEPEND} - app-text/asciidoc - app-text/xmlto -" - -DOCS=( NEWS AUTHORS ) - -# Network access -RESTRICT=test - -src_prepare() { - use test && AUTOTOOLS_IN_SOURCE_BUILD=1 - sed -i -e 's|-Werror||g' configure.ac || die - - cat >> src/Makemodule-local.am <<-EOF - src_libczmq_la_LDFLAGS += -pthread - EOF - - autotools-utils_src_prepare -} - -src_test() { - autotools-utils_src_test check-verbose VERBOSE=1 -} - -src_install() { - autotools-utils_src_install - mv "${ED}"/usr/bin/makecert{,-czmq} || die - mv "${ED}"/usr/share/man/man1/makecert{,-cmzq}.1 || die -} - -pkg_postinst() { - elog "Due to file collisions we moved the makecert tool to makecert-${PN}." -} -- cgit v1.2.3-65-gdbad