public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/dev-zero:master commit in: net-libs/zeromq/
@ 2013-01-20  9:56 Tiziano Müller
  0 siblings, 0 replies; only message in thread
From: Tiziano Müller @ 2013-01-20  9:56 UTC (permalink / raw
  To: gentoo-commits

commit:     6643133e4ce91915ebe748d9f9af01503cc5078a
Author:     Tiziano Müller <tm <AT> dev-zero <DOT> ch>
AuthorDate: Sun Jan 20 09:42:27 2013 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Sun Jan 20 09:42:27 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=6643133e

Add version bump for zeromq (based on ebuild from https://bugs.gentoo.org/show_bug.cgi?id=437310).

---
 net-libs/zeromq/Manifest            |    2 +
 net-libs/zeromq/zeromq-3.2.2.ebuild |   58 +++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/net-libs/zeromq/Manifest b/net-libs/zeromq/Manifest
new file mode 100644
index 0000000..739ece5
--- /dev/null
+++ b/net-libs/zeromq/Manifest
@@ -0,0 +1,2 @@
+DIST zeromq-3.2.2.tar.gz 2067590 SHA256 2b4eeda60fe47a9fa0804d53d76f656665c5f84dab7e63a1d496d9430b554f99 SHA512 b9d061ca49e54ea917e0aed2b2a48faef33061dbf6d17eae7f8c3fff0b35ca883e7324f6cb24bda542443f669dcd5748037a5f2309f4c359d68adef520894865 WHIRLPOOL 75260afaf678300700ce9b542d7ef2c11a730b1844d4520de9242f45adf4851220f3209d103d9b57e66e9befb767eff41846a67e92a8e0f343bc3dbc921ec355
+EBUILD zeromq-3.2.2.ebuild 1408 SHA256 7435f28c1373b2d4fa305eb266a9f8c789b048388033502199f4deae92f0faa9 SHA512 27130d5f28a7da912b9679873719c157a2518a889e3e97d69ad243b75fbd011002a5aea9e204a14ac925ea96dbdcfd7cfb01e7c2890a1b440eae0733b91c14c8 WHIRLPOOL e7f25c5f0fad707de457e5e5b1034e3890cadf95cb2ddade20bc0b275406e6a490172514b7a678fb9798657d1d47ffb0d99f730fbbe06ce90b51019a161dceb5

diff --git a/net-libs/zeromq/zeromq-3.2.2.ebuild b/net-libs/zeromq/zeromq-3.2.2.ebuild
new file mode 100644
index 0000000..b1dc81f
--- /dev/null
+++ b/net-libs/zeromq/zeromq-3.2.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# NOTES:
+# 1- use flag 'pgm' (OpenPGM support) must be masked by profiles for ARM archs;
+
+EAPI=4
+
+MY_P="${PN}-${PV/_/-}"
+
+inherit versionator
+
+DESCRIPTION="ZeroMQ is a brokerless messaging kernel with extremely high performance."
+HOMEPAGE="http://www.zeromq.org"
+SRC_URI="http://download.zeromq.org/${MY_P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug doc pgm static-libs"
+
+RDEPEND="pgm? ( =net-libs/openpgm-5.1.118 )"
+DEPEND="${RDEPEND}
+	pgm? ( virtual/pkgconfig )
+	sys-apps/util-linux"
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
+
+src_prepare() {
+	einfo "Removing bundled OpenPGM library"
+	rm -r "${S}"/foreign/openpgm/libpgm* || die
+
+	# disable -Werror
+	sed -i \
+		-e 's|^\(libzmq_werror\)=.*|\1="no"|' \
+		configure || die "sed failed"
+}
+
+src_configure() {
+	# documentation is already built in the release tarball
+	local myconf
+	use pgm && myconf="--with-system-pgm" || myconf="--without-pgm"
+	econf \
+		$(use_enable static-libs static) \
+		$(use_enable debug) \
+		--without-documentation \
+		$myconf
+}
+
+src_install() {
+	default
+
+	doman doc/*.[1-9] || die "doman failed"
+	use doc && dohtml doc/*.html
+
+	use static-libs || rm "${D}"/usr/lib*/*.{a,la}
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-20  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-20  9:56 [gentoo-commits] dev/dev-zero:master commit in: net-libs/zeromq/ Tiziano Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox