2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
14 PKG_MD5SUM:=24a08cf1407000d628a272b08a415dda
16 PKG_SOURCE_URL:=http://hng.av.it.pt/mrd6/download/
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23 PKG_BUILDDEP:=libnotimpl
25 include $(INCLUDE_DIR)/package.mk
31 TITLE:=IPv6 multicast routing daemon
32 DESCRIPTION:=Multicast is becoming a major component in next generation\\\
33 networks, used in several scenarios, from video broadcasting\\\
34 to multimedia conferencing. In order to be implemented, new\\\
35 technology needs supporting hardware and software across a set\\\
36 of devices and systems. MRD6 is an implementation of a modular\\\
37 IPv6 Multicast Routing Framework for the Linux operating system\\\
38 and provides MLDv2 (as well as MLDv1), PIM-SM and MBGP support.\\\
39 URL:=http://artemis.av.it.pt/mrd6/
42 define Package/mrd6/conffiles
47 $(MAKE) -C $(PKG_BUILD_DIR)/src \
51 CFLAGS="$(TARGET_CFLAGS) -DNO_INET6_OPTION" \
52 CXX="$(TARGET_CROSS)g++" \
54 STAGING_DIR="$(STAGING_DIR)" \
55 DESTDIR="$(PKG_INSTALL_DIR)" \
60 define Package/mrd6/install
61 install -d -m0755 $(1)/etc/init.d
62 install -m0644 files/mrd6.conf $(1)/etc
63 install -m0755 files/mrd6.init $(1)/etc/init.d/mrd6
66 $(eval $(call BuildPackage,mrd6))