aboutsummaryrefslogtreecommitdiff
path: root/package/zeromq/zeromq.mk
blob: 2ab2f5d79cd05146c5591dee62fe391b98094afa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
################################################################################
#
# zeromq
#
################################################################################

ZEROMQ_VERSION = 4.0.4
ZEROMQ_SITE = http://download.zeromq.org
ZEROMQ_INSTALL_STAGING = YES
ZEROMQ_DEPENDENCIES = util-linux
ZEROMQ_LICENSE = LGPLv3+ with exceptions
ZEROMQ_LICENSE_FILES = COPYING COPYING.LESSER
ZEROMQ_AUTORECONF = YES

# 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++).
ifeq ($(BR2_PREFER_STATIC_LIB),y)
	ZEROMQ_CONF_OPT += LIBS=-lstdc++
endif

ifeq ($(BR2_PACKAGE_ZEROMQ_PGM),y)
	ZEROMQ_DEPENDENCIES += host-pkgconf openpgm
	ZEROMQ_CONF_OPT += --with-system-pgm
endif

$(eval $(autotools-package))