2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-25 14:28:01 +01:00
|
|
|
#
|
|
|
|
# czmq
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-25 14:28:01 +01:00
|
|
|
|
2014-10-26 19:45:10 +01:00
|
|
|
CZMQ_VERSION = v3.0.0
|
2014-05-05 19:20:33 +02:00
|
|
|
CZMQ_SITE = $(call github,zeromq,czmq,$(CZMQ_VERSION))
|
2013-03-25 14:28:01 +01:00
|
|
|
|
|
|
|
# Autoreconf required as we use the git tree
|
|
|
|
CZMQ_AUTORECONF = YES
|
|
|
|
CZMQ_INSTALL_STAGING = YES
|
|
|
|
CZMQ_DEPENDENCIES = zeromq
|
2014-04-26 20:49:56 +02:00
|
|
|
CZMQ_LICENSE = MPLv2.0
|
|
|
|
CZMQ_LICENSE_FILES = LICENSE
|
2013-03-25 14:28:01 +01:00
|
|
|
|
2013-05-12 11:15:52 +02:00
|
|
|
# asciidoc is a python script that imports unicodedata, which is not in
|
|
|
|
# host-python, so disable asciidoc entirely.
|
|
|
|
CZMQ_CONF_ENV = ac_cv_prog_czmq_have_asciidoc=no
|
|
|
|
|
2014-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2014-11-23 15:46:46 +01:00
|
|
|
CZMQ_CONF_OPTS += LIBS="-lstdc++ -lm"
|
2014-11-21 07:04:50 +01:00
|
|
|
endif
|
|
|
|
|
2013-03-25 14:28:01 +01:00
|
|
|
define CZMQ_CREATE_CONFIG_DIR
|
|
|
|
mkdir -p $(@D)/config
|
|
|
|
endef
|
|
|
|
|
|
|
|
CZMQ_POST_PATCH_HOOKS += CZMQ_CREATE_CONFIG_DIR
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|