summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2013-03-27 03:58:48 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-03-27 19:35:03 (GMT)
commitba9c34787b5c089eab29302df2c6adb3a2de24ae (patch)
tree58725bfa0d0b51f4d355b974e02e81a90508e671
parent674cbf25f69dc5df70679d6d4b31b78091ccaaa5 (diff)
downloadbuildroot-ba9c34787b5c089eab29302df2c6adb3a2de24ae.tar.gz
buildroot-ba9c34787b5c089eab29302df2c6adb3a2de24ae.tar.bz2
filemq: new package
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/filemq/Config.in16
-rw-r--r--package/filemq/filemq.mk22
3 files changed, 39 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index d522804..463d1b9 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 0000000..b8eb8bd
--- /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 0000000..0ea7a9d
--- /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))