diff options
author | Alexander Vershilov <qnikst@gentoo.org> | 2013-10-26 07:46:35 +0000 |
---|---|---|
committer | Alexander Vershilov <qnikst@gentoo.org> | 2013-10-26 07:46:35 +0000 |
commit | 8349696bd93364051ab3a07ce17241ab99eb27f1 (patch) | |
tree | fa2151ddcf61ec8ed30f4eeb58ef10980c906180 /net-libs/zeromq | |
parent | Support uclibc on the 2.0 branch; not applied to older branches as they no lo... (diff) | |
download | gentoo-2-8349696bd93364051ab3a07ce17241ab99eb27f1.tar.gz gentoo-2-8349696bd93364051ab3a07ce17241ab99eb27f1.tar.bz2 gentoo-2-8349696bd93364051ab3a07ce17241ab99eb27f1.zip |
add zeromq-4.0.1 (bug #488370)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xEAD50D64D8D3571A!)
Diffstat (limited to 'net-libs/zeromq')
-rw-r--r-- | net-libs/zeromq/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/zeromq/zeromq-4.0.1.ebuild | 56 |
2 files changed, 62 insertions, 1 deletions
diff --git a/net-libs/zeromq/ChangeLog b/net-libs/zeromq/ChangeLog index 5e9ed9a9a54e..e71146ebe498 100644 --- a/net-libs/zeromq/ChangeLog +++ b/net-libs/zeromq/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/zeromq # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/ChangeLog,v 1.47 2013/09/30 17:12:37 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/ChangeLog,v 1.48 2013/10/26 07:46:35 qnikst Exp $ + +*zeromq-4.0.1 (26 Oct 2013) + + 26 Oct 2013; Alexander Vershilov <qnikst@gentoo.org> +zeromq-4.0.1.ebuild: + add zeromq-4.0.1 (bug #488370) 30 Sep 2013; Agostino Sarubbo <ago@gentoo.org> zeromq-3.2.3.ebuild: Stable for x86, wrt bug #474752 diff --git a/net-libs/zeromq/zeromq-4.0.1.ebuild b/net-libs/zeromq/zeromq-4.0.1.ebuild new file mode 100644 index 000000000000..e3060f1572f6 --- /dev/null +++ b/net-libs/zeromq/zeromq-4.0.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/zeromq-4.0.1.ebuild,v 1.1 2013/10/26 07:46:35 qnikst Exp $ + +EAPI=5 + +inherit autotools + +DESCRIPTION="ZeroMQ is a brokerless kernel" +HOMEPAGE="http://www.zeromq.org/" +SRC_URI="http://download.zeromq.org/${P}.tar.gz" +RESTRICT="mirror" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="pgm test static-libs elibc_glibc" + +DEPEND="sys-devel/gcc + pgm? ( + virtual/pkgconfig + =net-libs/openpgm-5.1.118 + ) + sys-apps/util-linux" +RDEPEND="" + +src_prepare() { + einfo "Removing bundled OpenPGM library" +# sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die + 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 +} + +src_test() { + emake -j1 check +} |