From 06211219a06c795d2c5d4352a1637a4d60f881ba Mon Sep 17 00:00:00 2001 From: Thomas De Schampheleire Date: Wed, 14 Mar 2012 17:38:16 +0100 Subject: [PATCH] new package: zeromq [Peter: fix C++/LF deps, reformat help, install into staging] Signed-off-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/zeromq/Config.in | 25 +++++++++++++++++++++++++ package/zeromq/zeromq.mk | 12 ++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 package/zeromq/Config.in create mode 100644 package/zeromq/zeromq.mk diff --git a/package/Config.in b/package/Config.in index 36a221cfb0..9eef96e63d 100644 --- a/package/Config.in +++ b/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" diff --git a/package/zeromq/Config.in b/package/zeromq/Config.in new file mode 100644 index 0000000000..e1d3d520b8 --- /dev/null +++ b/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/ diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk new file mode 100644 index 0000000000..b6c499d18c --- /dev/null +++ b/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)) -- 2.30.2