2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-03-14 17:38:16 +01:00
|
|
|
#
|
|
|
|
# zeromq
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-03-14 17:38:16 +01:00
|
|
|
|
2014-11-11 21:29:15 +01:00
|
|
|
ZEROMQ_VERSION = 4.0.5
|
2014-07-31 10:46:58 +02:00
|
|
|
ZEROMQ_SITE = http://download.zeromq.org
|
2012-03-14 17:38:16 +01:00
|
|
|
ZEROMQ_INSTALL_STAGING = YES
|
|
|
|
ZEROMQ_DEPENDENCIES = util-linux
|
2012-08-28 04:07:43 +02:00
|
|
|
ZEROMQ_LICENSE = LGPLv3+ with exceptions
|
|
|
|
ZEROMQ_LICENSE_FILES = COPYING COPYING.LESSER
|
2014-11-11 21:29:15 +01:00
|
|
|
# For 0001-tests-disable-test_fork-if-fork-is-not-available.patch
|
2015-04-22 09:58:56 +02:00
|
|
|
# and 0002-acinclude.m4-make-kernel-specific-flags-cacheable.patch
|
2014-05-03 18:33:02 +02:00
|
|
|
ZEROMQ_AUTORECONF = YES
|
2012-03-14 17:38:16 +01:00
|
|
|
|
2015-04-22 09:58:56 +02:00
|
|
|
# Assume these flags are always available. It is true, at least for
|
|
|
|
# SOCK_CLOEXEC, since linux v2.6.27.
|
|
|
|
# Note: the flag TCP_KEEPALIVE is NOT available so we do not include it.
|
|
|
|
ZEROMQ_CONF_ENV = libzmq_cv_sock_cloexec=yes \
|
|
|
|
libzmq_cv_so_keepalive=yes \
|
|
|
|
libzmq_cv_tcp_keepcnt=yes \
|
|
|
|
libzmq_cv_tcp_keepidle=yes \
|
|
|
|
libzmq_cv_tcp_keepintvl=yes
|
|
|
|
|
2014-05-09 01:24:27 +02:00
|
|
|
# Only tools/curve_keygen.c needs this, but it doesn't hurt to pass it
|
|
|
|
# for the rest of the build as well (which automatically includes stdc++).
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
ZEROMQ_CONF_OPTS += LIBS=-lstdc++
|
2014-05-09 01:24:27 +02:00
|
|
|
endif
|
|
|
|
|
2013-03-04 00:48:12 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ZEROMQ_PGM),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
ZEROMQ_DEPENDENCIES += host-pkgconf openpgm
|
|
|
|
ZEROMQ_CONF_OPTS += --with-system-pgm
|
2013-03-04 00:48:12 +01:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|