Commit e2a547fc authored by Simon Dawson's avatar Simon Dawson Committed by Peter Korsgaard
Browse files

zyre: new package



[Peter: add comment about toolchain dependencies, fix license]
Signed-off-by: default avatarSimon Dawson <spdawson@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 28431c2c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"

package/zyre/Config.in

0 → 100644
+17 −0
Original line number Diff line number Diff line
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)

package/zyre/zyre.mk

0 → 100644
+22 −0
Original line number Diff line number Diff line
#############################################################
#
# 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))