diff options
author | Simon Dawson <spdawson@gmail.com> | 2013-03-25 13:28:01 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-03-27 09:42:35 +0100 |
commit | 34c6fc10342ffc1da2e4151b539832e17ce6c47c (patch) | |
tree | fff5bcecaf155e28357cce165f4f49ab4ed8f702 | |
parent | 653bfd0b913f5bea69737c6ae10d765e10595b62 (diff) | |
download | buildroot-novena-34c6fc10342ffc1da2e4151b539832e17ce6c47c.tar.gz buildroot-novena-34c6fc10342ffc1da2e4151b539832e17ce6c47c.zip |
czmq: new package
Signed-off-by: Simon Dawson <spdawson@gmail.com>
[yann.morin.1998@free.fr: create dir as post-patch, not pre-configure]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | package/Config.in | 1 | ||||
-rw-r--r-- | package/czmq/Config.in | 14 | ||||
-rw-r--r-- | package/czmq/czmq.mk | 23 |
3 files changed, 38 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in index 5d8f4f6b7..d3901b40d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -496,6 +496,7 @@ source "package/mediastreamer/Config.in" endmenu menu "Networking" +source "package/czmq/Config.in" source "package/glib-networking/Config.in" source "package/libcgi/Config.in" source "package/libcgicc/Config.in" diff --git a/package/czmq/Config.in b/package/czmq/Config.in new file mode 100644 index 000000000..9fd8e86d2 --- /dev/null +++ b/package/czmq/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_CZMQ + bool "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 + High-level C Binding for 0MQ + + http://czmq.zeromq.org/ + +comment "czmq 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/czmq/czmq.mk b/package/czmq/czmq.mk new file mode 100644 index 000000000..2b34654fa --- /dev/null +++ b/package/czmq/czmq.mk @@ -0,0 +1,23 @@ +############################################################# +# +# czmq +# +############################################################# + +CZMQ_VERSION = cb9839cf90 +CZMQ_SITE = git://github.com/zeromq/czmq.git + +# Autoreconf required as we use the git tree +CZMQ_AUTORECONF = YES +CZMQ_INSTALL_STAGING = YES +CZMQ_DEPENDENCIES = zeromq +CZMQ_LICENSE = LGPLv3+ with exceptions +CZMQ_LICENSE_FILES = COPYING COPYING.LESSER + +define CZMQ_CREATE_CONFIG_DIR + mkdir -p $(@D)/config +endef + +CZMQ_POST_PATCH_HOOKS += CZMQ_CREATE_CONFIG_DIR + +$(eval $(autotools-package)) |