2017-04-21 11:22:04 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# nanomsg
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-06-03 23:44:36 +02:00
|
|
|
NANOMSG_VERSION = 1.1.5
|
2017-04-21 11:22:04 +02:00
|
|
|
NANOMSG_SITE = $(call github,nanomsg,nanomsg,$(NANOMSG_VERSION))
|
|
|
|
NANOMSG_INSTALL_STAGING = YES
|
|
|
|
NANOMSG_LICENSE = MIT
|
|
|
|
NANOMSG_LICENSE_FILES = COPYING
|
|
|
|
NANOMSG_CONF_OPTS = -DNN_ENABLE_DOC=OFF -DNN_TESTS=OFF
|
|
|
|
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
NANOMSG_CONF_OPTS += -DNN_STATIC_LIB=ON
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_NANOMSG_TOOLS),y)
|
|
|
|
NANOMSG_CONF_OPTS += -DNN_TOOLS=ON
|
|
|
|
else
|
|
|
|
NANOMSG_CONF_OPTS += -DNN_TOOLS=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|