summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-04-07 08:19:15 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-04-07 08:19:15 +0000
commit3c34b49022090cb746c70fe1124306390999296f (patch)
tree491813991d234cc57f338dddd7b56c0e7feed65e
parentBump (diff)
downloadgentoo-2-3c34b49022090cb746c70fe1124306390999296f.tar.gz
gentoo-2-3c34b49022090cb746c70fe1124306390999296f.tar.bz2
gentoo-2-3c34b49022090cb746c70fe1124306390999296f.zip
Bump
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
-rw-r--r--net-libs/zeromq/ChangeLog7
-rw-r--r--net-libs/zeromq/zeromq-2.2.0.ebuild52
2 files changed, 58 insertions, 1 deletions
diff --git a/net-libs/zeromq/ChangeLog b/net-libs/zeromq/ChangeLog
index e0864f8b9341..fb5c47a432e3 100644
--- a/net-libs/zeromq/ChangeLog
+++ b/net-libs/zeromq/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/zeromq
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/ChangeLog,v 1.22 2012/02/24 15:00:12 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/ChangeLog,v 1.23 2012/04/07 08:19:15 patrick Exp $
+
+*zeromq-2.2.0 (07 Apr 2012)
+
+ 07 Apr 2012; Patrick Lauer <patrick@gentoo.org> +zeromq-2.2.0.ebuild:
+ Bump
24 Feb 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> zeromq-2.1.11.ebuild:
x86 stable wrt bug #404829
diff --git a/net-libs/zeromq/zeromq-2.2.0.ebuild b/net-libs/zeromq/zeromq-2.2.0.ebuild
new file mode 100644
index 000000000000..acc391b3b99e
--- /dev/null
+++ b/net-libs/zeromq/zeromq-2.2.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/zeromq-2.2.0.ebuild,v 1.1 2012/04/07 08:19:15 patrick Exp $
+
+# NOTES:
+# 1- use flag 'pgm' (OpenPGM support) must be masked by profiles for ARM archs;
+
+EAPI=3
+WANT_AUTOCONF="2.5"
+inherit autotools
+
+DESCRIPTION="ZeroMQ is a brokerless messaging kernel with extremely high performance."
+HOMEPAGE="http://www.zeromq.org"
+SRC_URI="http://download.zeromq.org/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pgm test static-libs"
+
+RDEPEND=""
+DEPEND="pgm? (
+ dev-util/pkgconfig
+ =net-libs/openpgm-5.1.118
+ )
+ sys-apps/util-linux"
+
+src_prepare() {
+ einfo "Removing bundled OpenPGM library"
+ rm -r "${S}"/foreign/openpgm/libpgm* || die
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ use pgm && myconf="--with-system-pgm" || myconf="--without-pgm"
+ econf \
+ $(use_enable static-libs static) \
+ $myconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc NEWS README AUTHORS ChangeLog || die "dodoc failed"
+ doman doc/*.[1-9] || die "doman failed"
+
+ # remove useless .la files
+ find "${D}" -name '*.la' -delete
+
+ # remove useless .a (only for non static compilation)
+ use static-libs || find "${D}" -name '*.a' -delete
+}