summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/zeromq/Config.in9
-rw-r--r--package/zeromq/zeromq.mk5
2 files changed, 14 insertions, 0 deletions
diff --git a/package/zeromq/Config.in b/package/zeromq/Config.in
index e1d3d520b..b7dc8a633 100644
--- a/package/zeromq/Config.in
+++ b/package/zeromq/Config.in
@@ -23,3 +23,12 @@ config BR2_PACKAGE_ZEROMQ
ØMQ is from iMatix and is LGPL open source.
http://www.zeromq.org/
+
+config BR2_PACKAGE_ZEROMQ_PGM
+ bool "PGM/EPGM support"
+ depends on BR2_PACKAGE_ZEROMQ
+ select BR2_PACKAGE_OPENPGM
+ help
+ Add support for Pragmatic General Multicast protocol (RFC 3208)
+ implemented either over raw IP packets or UDP datagrams
+ (encapsulated PGM). This requires OpenPGM library.
diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
index 2d0026d2d..ba585d966 100644
--- a/package/zeromq/zeromq.mk
+++ b/package/zeromq/zeromq.mk
@@ -11,4 +11,9 @@ ZEROMQ_DEPENDENCIES = util-linux
ZEROMQ_LICENSE = LGPLv3+ with exceptions
ZEROMQ_LICENSE_FILES = COPYING COPYING.LESSER
+ifeq ($(BR2_PACKAGE_ZEROMQ_PGM),y)
+ ZEROMQ_DEPENDENCIES += host-pkgconf openpgm
+ ZEROMQ_CONF_OPT = --with-system-pgm
+endif
+
$(eval $(autotools-package))