buildrootschalter/package/czmq/czmq.mk
Thomas De Schampheleire ce6b23a2ee github packages: use tarball download via github helper iso git clone
Tarball download from github is preferred, because:
- download size is smaller
- git clone may be blocked in some corporate environments

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-05 21:54:28 +02:00

28 lines
731 B
Makefile

################################################################################
#
# czmq
#
################################################################################
CZMQ_VERSION = v2.2.0
CZMQ_SITE = $(call github,zeromq,czmq,$(CZMQ_VERSION))
# Autoreconf required as we use the git tree
CZMQ_AUTORECONF = YES
CZMQ_INSTALL_STAGING = YES
CZMQ_DEPENDENCIES = zeromq
CZMQ_LICENSE = MPLv2.0
CZMQ_LICENSE_FILES = LICENSE
# 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
define CZMQ_CREATE_CONFIG_DIR
mkdir -p $(@D)/config
endef
CZMQ_POST_PATCH_HOOKS += CZMQ_CREATE_CONFIG_DIR
$(eval $(autotools-package))