Jelajahi Sumber

new package: zeromq

[Peter: fix C++/LF deps, reformat help, install into staging]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas De Schampheleire 13 tahun lalu
induk
melakukan
06211219a0
3 mengubah file dengan 38 tambahan dan 0 penghapusan
  1. 1 0
      package/Config.in
  2. 25 0
      package/zeromq/Config.in
  3. 12 0
      package/zeromq/zeromq.mk

+ 1 - 0
package/Config.in

@@ -366,6 +366,7 @@ source "package/librsync/Config.in"
 source "package/libsoup/Config.in"
 source "package/libupnp/Config.in"
 source "package/libvncserver/Config.in"
+source "package/zeromq/Config.in"
 endmenu
 
 menu "Other"

+ 25 - 0
package/zeromq/Config.in

@@ -0,0 +1,25 @@
+comment "zeromq requires a toolchain with C++, LARGEFILE + WCHAR support"
+	depends on !(BR2_INSTALL_LIBSTDCPP &&  BR2_LARGEFILE && BR2_USE_WCHAR)
+
+config BR2_PACKAGE_ZEROMQ
+	bool "zeromq"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_LARGEFILE # util-linux
+	depends on BR2_USE_WCHAR # util-linux
+	select BR2_PACKAGE_UTIL_LINUX
+	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
+	help
+	  ØMQ (ZeroMQ, 0MQ, zmq) looks like an embeddable networking
+	  library but acts like a concurrency framework. It gives you
+	  sockets that carry whole messages across various transports
+	  like in-process, inter- process, TCP, and multicast. You can
+	  connect sockets N-to-N with patterns like fanout, pub-sub,
+	  task distribution, and request-reply.  It's fast enough to
+	  be the fabric for clustered products. Its asynchronous I/O
+	  model gives you scalable multicore applications, built as
+	  asynchronous message-processing tasks. It has a score of
+	  language APIs and runs on most operating systems.
+
+	  ØMQ is from iMatix and is LGPL open source.
+
+	  http://www.zeromq.org/

+ 12 - 0
package/zeromq/zeromq.mk

@@ -0,0 +1,12 @@
+#############################################################
+#
+# zeromq
+#
+#############################################################
+
+ZEROMQ_VERSION = 2.1.11
+ZEROMQ_SITE = http://download.zeromq.org/
+ZEROMQ_INSTALL_STAGING = YES
+ZEROMQ_DEPENDENCIES = util-linux
+
+$(eval $(call AUTOTARGETS))