kumquat-buildroot/package/nanomsg/nanomsg.mk
Fabrice Fontaine 35dcf9ee56 package/nanomsg: bump to version 1.2
https://github.com/nanomsg/nanomsg/releases/tag/1.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-09-27 19:46:32 +02:00

25 lines
625 B
Makefile

################################################################################
#
# nanomsg
#
################################################################################
NANOMSG_VERSION = 1.2
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))