nanomsg: new package
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
e947766891
commit
1ad03d5481
|
@ -1304,6 +1304,7 @@ F: package/glog/
|
|||
F: package/gssdp/
|
||||
F: package/gupnp/
|
||||
F: package/gupnp-av/
|
||||
F: package/nanomsg/
|
||||
|
||||
N: Rahul Jain <rahul.jain@imgtec.com>
|
||||
F: package/uhttpd/
|
||||
|
|
|
@ -1306,6 +1306,7 @@ menu "Networking"
|
|||
source "package/libwebsockets/Config.in"
|
||||
source "package/lksctp-tools/Config.in"
|
||||
source "package/mongoose/Config.in"
|
||||
source "package/nanomsg/Config.in"
|
||||
source "package/neon/Config.in"
|
||||
source "package/norm/Config.in"
|
||||
source "package/nss-mdns/Config.in"
|
||||
|
|
23
package/nanomsg/Config.in
Normal file
23
package/nanomsg/Config.in
Normal file
|
@ -0,0 +1,23 @@
|
|||
config BR2_PACKAGE_NANOMSG
|
||||
bool "nanomsg"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
nanomsg is a socket library that provides several common
|
||||
communication patterns. It aims to make the networking layer
|
||||
fast, scalable, and easy to use. Implemented in C, it works
|
||||
on a wide range of operating systems with no further
|
||||
dependencies.
|
||||
|
||||
http://nanomsg.org/
|
||||
|
||||
if BR2_PACKAGE_NANOMSG
|
||||
|
||||
config BR2_PACKAGE_NANOMSG_TOOLS
|
||||
bool "Build nanomsg tools"
|
||||
help
|
||||
Build nanomsg tools
|
||||
|
||||
endif
|
||||
|
||||
comment "nanomsg needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
2
package/nanomsg/nanomsg.hash
Normal file
2
package/nanomsg/nanomsg.hash
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Locally computed
|
||||
sha256 24afdeb71b2e362e8a003a7ecc906e1b84fd9f56ce15ec567481d1bb33132cc7 nanomsg-1.0.0.tar.gz
|
24
package/nanomsg/nanomsg.mk
Normal file
24
package/nanomsg/nanomsg.mk
Normal file
|
@ -0,0 +1,24 @@
|
|||
################################################################################
|
||||
#
|
||||
# nanomsg
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NANOMSG_VERSION = 1.0.0
|
||||
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))
|
Loading…
Reference in a new issue