summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2013-04-14 10:33:01 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-23 22:18:10 +0200
commite2a547fc53fe6c345d873ba19d9975d96b3ef484 (patch)
tree48fc3eb1862a0c0430ac670d6acdd3411241ab79
parent28431c2c0ee33dd192933954ca2e667624882503 (diff)
downloadbuildroot-novena-e2a547fc53fe6c345d873ba19d9975d96b3ef484.tar.gz
buildroot-novena-e2a547fc53fe6c345d873ba19d9975d96b3ef484.zip
zyre: new package
[Peter: add comment about toolchain dependencies, fix license] 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/zyre/Config.in17
-rw-r--r--package/zyre/zyre.mk22
3 files changed, 40 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index ad070f4a8..f1a3cc570 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -547,6 +547,7 @@ source "package/slirp/Config.in"
source "package/usbredir/Config.in"
source "package/zeromq/Config.in"
source "package/zmqpp/Config.in"
+source "package/zyre/Config.in"
endmenu
menu "Other"
diff --git a/package/zyre/Config.in b/package/zyre/Config.in
new file mode 100644
index 000000000..f181ac85c
--- /dev/null
+++ b/package/zyre/Config.in
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_ZYRE
+ bool "zyre"
+ depends on BR2_INSTALL_LIBSTDCPP # filemq
+ depends on BR2_INET_IPV6 # filemq
+ depends on BR2_LARGEFILE # filemq
+ depends on BR2_USE_WCHAR # filemq
+ depends on BR2_TOOLCHAIN_HAS_THREADS # filemq
+ select BR2_PACKAGE_FILEMQ
+ help
+ An open-source framework for proximity-based peer-to-peer
+ applications.
+
+ http://zyre.org
+
+comment "zyre requires a toolchain with C++, IPv6, LARGEFILE, WCHAR & thread support"
+ depends on !(BR2_INSTALL_LIBSTDCPP && BR2_INET_IPV6 && BR2_LARGEFILE \
+ && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)
diff --git a/package/zyre/zyre.mk b/package/zyre/zyre.mk
new file mode 100644
index 000000000..5b4fadb00
--- /dev/null
+++ b/package/zyre/zyre.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# zyre
+#
+#############################################################
+
+ZYRE_VERSION = 44a57a449a
+ZYRE_SITE = git://github.com/zeromq/zyre.git
+ZYRE_LICENSE = LGPLv3+
+ZYRE_LICENSE_FILES = COPYING COPYING.LESSER
+ZYRE_INSTALL_STAGING = YES
+ZYRE_DEPENDENCIES = filemq
+ZYRE_AUTORECONF = YES
+ZYRE_AUTORECONF_OPT = --install --force --verbose
+
+define ZYRE_CREATE_CONFIG_DIR
+ mkdir -p $(@D)/config
+endef
+
+ZYRE_POST_PATCH_HOOKS += ZYRE_CREATE_CONFIG_DIR
+
+$(eval $(autotools-package))