Skip to contentSkip to conversation

zmqpp: new package

PATCH New spdawson at gmail.com 1 participant 1 message Mar 18, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zmqpp: new package

From: Simon Dawson <[email protected]>

Now that zeromq has been bumped to version 3.2.2, we need to provide the C++ binding using a separate package. The zmqpp package provides a high-level C++ wrapper library around the zeromq C API.

---
 package/Config.in                           |    1 +
 package/zmqpp/Config.in                     |   32 ++++++++++++++++
 package/zmqpp/zmqpp-fix-typos-in-code.patch |   46 +++++++++++++++++++++++
 package/zmqpp/zmqpp.mk                      |   54 +++++++++++++++++++++++++++
 4 files changed, 133 insertions(+)
 create mode 100644 package/zmqpp/Config.in
 create mode 100644 package/zmqpp/zmqpp-fix-typos-in-code.patch
 create mode 100644 package/zmqpp/zmqpp.mk
package/Config.in +1 -0
index 9853b06..d5518fa 100644
@@ -535,6 +535,7 @@ source "package/ortp/Config.in"
 source "package/slirp/Config.in"
 source "package/usbredir/Config.in"
 source "package/zeromq/Config.in"
+source "package/zmqpp/Config.in"
 endmenu
 
 menu "Other"
package/zmqpp/Config.in new file +32 -0
new file mode 100644
index 0000000..7a12462
@@ -0,0 +1,32 @@
+config BR2_PACKAGE_ZMQPP
+	bool "zmqpp"
+	depends on !BR2_avr32 # compiler needs c++0x support
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_INET_IPV6 # zeromq
+	depends on BR2_LARGEFILE # util-linux
+	depends on BR2_USE_WCHAR # util-linux
+	select BR2_PACKAGE_ZEROMQ
+	help
+	  C++ binding for zeromq (ZeroMQ, 0MQ, zmq).
+
+	  This C++ binding is a 'high-level' library that hides most of the
+	  C-style interface core zeromq provides.
+
+	  http://github.com/benjamg/zmqpp
+
+comment "zmqpp requires a toolchain with C++, IPV6, LARGEFILE and WCHAR support"
+	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
+		&& BR2_USE_WCHAR)
+
+config BR2_PACKAGE_ZMQPP_CLIENT
+	bool "zmqpp client"
+	depends on BR2_PACKAGE_ZMQPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
+	select BR2_PACKAGE_BOOST
+	select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
+	help
+	  Build and install the zmqpp client, a command line tool that can be
+	  used to listen or send to zeromq sockets.
+
+comment "zmqpp client requires a toolchain with thread support"
+	depends on BR2_PACKAGE_ZMQPP && !BR2_TOOLCHAIN_HAS_THREADS
package/zmqpp/zmqpp-fix-typos-in-code.patch new file +46 -0

46 lines not on this page · raw message

package/zmqpp/zmqpp.mk new file +54 -0

54 lines not on this page · raw message

Signature · 1 line
1.7.10.4