+define Package/mrd6/description
+ Multicast is becoming a major component in next generation networks, used
+ in several scenarios, from video broadcasting to multimedia conferencing.
+ In order to be implemented, new technology needs supporting hardware and
+ software across a set of devices and systems. MRD6 is an implementation of
+ a modular IPv6 Multicast Routing Framework for the Linux operating system
+ and provides MLDv2 (as well as MLDv1), PIM-SM and MBGP support.
+endef
+
+MRD6_MAKEFLAGS:= \
+ $(TARGET_CONFIGURE_OPTS) \
+ OPTIMIZE=yes \
+ SPACE_OPTIMIZE=yes \
+ FULL_STATIC=no \
+ CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -DNO_INET6_OPTION -fno-builtin -fno-rtti" \
+ LDFLAGS="$(TARGET_LDFLAGS) -ldl -lm" \
+ MODULE_CXX="\$$$$(CC) -shared \$$$$(CXXFLAGS) \$$$$(LDFLAGS)" \
+ DESTDIR="$(PKG_INSTALL_DIR)" \
+ PREFIX="/usr"
+
+define Build/Compile
+ $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/src $(MRD6_MAKEFLAGS) all