All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] nanomsg: new package
@ 2017-04-21  9:22 Rahul Bedarkar
  2017-04-30 12:29 ` Romain Naour
  2017-05-01  9:26 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Rahul Bedarkar @ 2017-04-21  9:22 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
---
 DEVELOPERS                   |  1 +
 package/Config.in            |  1 +
 package/nanomsg/Config.in    | 23 +++++++++++++++++++++++
 package/nanomsg/nanomsg.hash |  2 ++
 package/nanomsg/nanomsg.mk   | 24 ++++++++++++++++++++++++
 5 files changed, 51 insertions(+)
 create mode 100644 package/nanomsg/Config.in
 create mode 100644 package/nanomsg/nanomsg.hash
 create mode 100644 package/nanomsg/nanomsg.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 123a8f9..693cfe1 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1303,6 +1303,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/
diff --git a/package/Config.in b/package/Config.in
index 4eaa95b..bfcfb73 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/nanomsg/Config.in b/package/nanomsg/Config.in
new file mode 100644
index 0000000..0cab8b4
--- /dev/null
+++ b/package/nanomsg/Config.in
@@ -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
diff --git a/package/nanomsg/nanomsg.hash b/package/nanomsg/nanomsg.hash
new file mode 100644
index 0000000..5f947da
--- /dev/null
+++ b/package/nanomsg/nanomsg.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 24afdeb71b2e362e8a003a7ecc906e1b84fd9f56ce15ec567481d1bb33132cc7  nanomsg-1.0.0.tar.gz
diff --git a/package/nanomsg/nanomsg.mk b/package/nanomsg/nanomsg.mk
new file mode 100644
index 0000000..3b1c2ca
--- /dev/null
+++ b/package/nanomsg/nanomsg.mk
@@ -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))
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] nanomsg: new package
  2017-04-21  9:22 [Buildroot] [PATCH] nanomsg: new package Rahul Bedarkar
@ 2017-04-30 12:29 ` Romain Naour
  2017-05-01  9:26 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Romain Naour @ 2017-04-30 12:29 UTC (permalink / raw)
  To: buildroot

Hi Rahul,

Le 21/04/2017 ? 11:22, Rahul Bedarkar a ?crit :
> Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>

Reviewed-by: Romain Naour <romain.naour@gmail.com>

Best regards,
Romain

> ---
>  DEVELOPERS                   |  1 +
>  package/Config.in            |  1 +
>  package/nanomsg/Config.in    | 23 +++++++++++++++++++++++
>  package/nanomsg/nanomsg.hash |  2 ++
>  package/nanomsg/nanomsg.mk   | 24 ++++++++++++++++++++++++
>  5 files changed, 51 insertions(+)
>  create mode 100644 package/nanomsg/Config.in
>  create mode 100644 package/nanomsg/nanomsg.hash
>  create mode 100644 package/nanomsg/nanomsg.mk
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 123a8f9..693cfe1 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1303,6 +1303,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/
> diff --git a/package/Config.in b/package/Config.in
> index 4eaa95b..bfcfb73 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -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"
> diff --git a/package/nanomsg/Config.in b/package/nanomsg/Config.in
> new file mode 100644
> index 0000000..0cab8b4
> --- /dev/null
> +++ b/package/nanomsg/Config.in
> @@ -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
> diff --git a/package/nanomsg/nanomsg.hash b/package/nanomsg/nanomsg.hash
> new file mode 100644
> index 0000000..5f947da
> --- /dev/null
> +++ b/package/nanomsg/nanomsg.hash
> @@ -0,0 +1,2 @@
> +# Locally computed
> +sha256 24afdeb71b2e362e8a003a7ecc906e1b84fd9f56ce15ec567481d1bb33132cc7  nanomsg-1.0.0.tar.gz
> diff --git a/package/nanomsg/nanomsg.mk b/package/nanomsg/nanomsg.mk
> new file mode 100644
> index 0000000..3b1c2ca
> --- /dev/null
> +++ b/package/nanomsg/nanomsg.mk
> @@ -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))
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] nanomsg: new package
  2017-04-21  9:22 [Buildroot] [PATCH] nanomsg: new package Rahul Bedarkar
  2017-04-30 12:29 ` Romain Naour
@ 2017-05-01  9:26 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-05-01  9:26 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 21 Apr 2017 14:52:04 +0530, Rahul Bedarkar wrote:
> Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
> ---
>  DEVELOPERS                   |  1 +
>  package/Config.in            |  1 +
>  package/nanomsg/Config.in    | 23 +++++++++++++++++++++++
>  package/nanomsg/nanomsg.hash |  2 ++
>  package/nanomsg/nanomsg.mk   | 24 ++++++++++++++++++++++++
>  5 files changed, 51 insertions(+)
>  create mode 100644 package/nanomsg/Config.in
>  create mode 100644 package/nanomsg/nanomsg.hash
>  create mode 100644 package/nanomsg/nanomsg.mk

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-01  9:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-21  9:22 [Buildroot] [PATCH] nanomsg: new package Rahul Bedarkar
2017-04-30 12:29 ` Romain Naour
2017-05-01  9:26 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.