2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
11 PKG_SOURCE_VERSION:=bbb2e7ee230c172e68766946e4b4e48f7449ee15
12 PKG_VERSION:=2014-05-02-$(PKG_SOURCE_VERSION)
16 PKG_SOURCE_URL:=git://github.com/mcproxy/mcproxy.git
17 PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
19 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
20 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/cmake.mk
25 define Package/mcproxy
28 SUBMENU:=Routing and Redirection
29 TITLE:=Multicast Proxy for IGMP/MLD
30 URL:=http://mcproxy.realmv6.org
31 DEPENDS:=+libpthread +libstdcpp @(!GCC_VERSION_4_4&&!GCC_VERSION_4_6)
34 define Package/mcproxy/description
35 mcproxy is a free & open source implementation of the IGMP/MLD proxy function (see RFC 4605) for Linux systems.
36 It operates on the kernel tables for multicast routing and allows for multiple instantiations,
37 as well as dynamically changing downstream interfaces.
40 define Package/mcproxy/conffiles
44 define Package/mcproxy/install
45 $(INSTALL_DIR) $(1)/etc/init.d
46 $(INSTALL_CONF) ./files/mcproxy.conf $(1)/etc
47 $(INSTALL_BIN) ./files/mcproxy.init $(1)/etc/init.d/mcproxy
48 $(INSTALL_DIR) $(1)/usr/sbin
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mcproxy-bin $(1)/usr/sbin/mcproxy
52 $(eval $(call BuildPackage,mcproxy))