aboutsummaryrefslogtreecommitdiffstats
path: root/package/filemq
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2013-03-27 03:58:48 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-27 20:35:03 +0100
commitba9c34787b5c089eab29302df2c6adb3a2de24ae (patch)
tree58725bfa0d0b51f4d355b974e02e81a90508e671 /package/filemq
parent674cbf25f69dc5df70679d6d4b31b78091ccaaa5 (diff)
downloadbuildroot-novena-ba9c34787b5c089eab29302df2c6adb3a2de24ae.tar.gz
buildroot-novena-ba9c34787b5c089eab29302df2c6adb3a2de24ae.zip
filemq: new package
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/filemq')
-rw-r--r--package/filemq/Config.in16
-rw-r--r--package/filemq/filemq.mk22
2 files changed, 38 insertions, 0 deletions
diff --git a/package/filemq/Config.in b/package/filemq/Config.in
new file mode 100644
index 000000000..b8eb8bdb4
--- /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 000000000..0ea7a9dc6
--- /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))