From ba9c34787b5c089eab29302df2c6adb3a2de24ae Mon Sep 17 00:00:00 2001 From: Simon Dawson Date: Wed, 27 Mar 2013 03:58:48 +0000 Subject: [PATCH] filemq: new package Signed-off-by: Simon Dawson Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/filemq/Config.in | 16 ++++++++++++++++ package/filemq/filemq.mk | 22 ++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 package/filemq/Config.in create mode 100644 package/filemq/filemq.mk diff --git a/package/Config.in b/package/Config.in index d522804b56..463d1b91b4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -499,6 +499,7 @@ endmenu menu "Networking" source "package/czmq/Config.in" source "package/cppzmq/Config.in" +source "package/filemq/Config.in" source "package/glib-networking/Config.in" source "package/libcgi/Config.in" source "package/libcgicc/Config.in" diff --git a/package/filemq/Config.in b/package/filemq/Config.in new file mode 100644 index 0000000000..b8eb8bdb40 --- /dev/null +++ b/package/filemq/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_FILEMQ + bool "filemq" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_CZMQ + select BR2_PACKAGE_ZEROMQ + depends on BR2_INSTALL_LIBSTDCPP # zeromq + depends on BR2_INET_IPV6 # zeromq + depends on BR2_LARGEFILE # util-linux + depends on BR2_USE_WCHAR # util-linux + help + FileMQ is a publish-subscribe file service based on 0MQ. + + http://github.com/zeromq/filemq + +comment "filemq requires a toolchain with C++, IPv6, LARGEFILE and WCHAR support" + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE && BR2_USE_WCHAR) diff --git a/package/filemq/filemq.mk b/package/filemq/filemq.mk new file mode 100644 index 0000000000..0ea7a9dc6e --- /dev/null +++ b/package/filemq/filemq.mk @@ -0,0 +1,22 @@ +############################################################# +# +# filemq +# +############################################################# + +FILEMQ_VERSION = 8fac5140dd +FILEMQ_SITE = git://github.com/zeromq/filemq.git + +FILEMQ_AUTORECONF = YES +FILEMQ_INSTALL_STAGING = YES +FILEMQ_DEPENDENCIES = czmq openssl zeromq +FILEMQ_LICENSE = LGPLv3+ with exceptions +FILEMQ_LICENSE_FILES = COPYING COPYING.LESSER + +define FILEMQ_CREATE_CONFIG_DIR + mkdir -p $(@D)/config +endef + +FILEMQ_POST_PATCH_HOOKS += FILEMQ_CREATE_CONFIG_DIR + +$(eval $(autotools-package)) -- 2.30.2