1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 AUTOTOOLS_AUTORECONF=true
8 inherit autotools-utils
10 DESCRIPTION="A brokerless kernel"
11 HOMEPAGE="http://www.zeromq.org/"
12 SRC_URI="http://download.zeromq.org/${P}.tar.gz"
16 KEYWORDS="amd64 arm hppa ia64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux"
17 IUSE="pgm static-libs test"
21 pgm? ( =net-libs/openpgm-5.2.122 )"
24 pgm? ( virtual/pkgconfig )"
27 einfo "Removing bundled OpenPGM library"
28 rm -fr "${S}"/foreign/openpgm/libpgm* || die
30 -e '/libzmq_werror=/s:yes:no:g' \
31 -i configure.ac || die
32 autotools-utils_src_prepare
37 use pgm && myeconfargs+=( --with-system-pgm ) || myeconfargs+=( --without-pgm )
38 autotools-utils_src_configure
42 autotools-utils_src_test -j1
46 autotools-utils_src_install