luci-app-olsrd2: upgrade uci-defaults for ucitrack handling to use json
[feed/routing.git] / mcproxy / Makefile
1 #
2 # Copyright (C) 2014-2017 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mcproxy
11 PKG_RELEASE:=9
12
13 PKG_SOURCE_PROTO:=git
14 PKG_SOURCE_URL:=https://github.com/mcproxy/mcproxy.git
15 PKG_SOURCE_DATE:=2017-08-24
16 PKG_SOURCE_VERSION:=93b5ace42268160ebbfff4c61818fb15fa2d9b99
17 PKG_MIRROR_HASH:=1999a4cd799514816159b2bf496e107231f6affbeb0f75a7298f0731e1320018
18
19 PKG_MAINTAINER:=Steven Barth <cyrus@openwrt.org>
20 PKG_LICENSE:=GPL-2.0-or-later
21 PKG_LICENSE_FILES:=COPYING
22
23 include $(INCLUDE_DIR)/package.mk
24 include $(INCLUDE_DIR)/cmake.mk
25
26 define Package/mcproxy
27 SECTION:=net
28 CATEGORY:=Network
29 SUBMENU:=Routing and Redirection
30 TITLE:=Multicast Proxy for IGMP/MLD
31 URL:=https://mcproxy.realmv6.org
32 DEPENDS:=+libpthread +libstdcpp @(!GCC_VERSION_4_4&&!GCC_VERSION_4_6)
33 endef
34
35 define Package/mcproxy/description
36 mcproxy is a free & open source implementation of the IGMP/MLD proxy function (see RFC 4605) for Linux systems.
37 It operates on the kernel tables for multicast routing and allows for multiple instantiations,
38 as well as dynamically changing downstream interfaces.
39 endef
40
41 define Package/mcproxy/conffiles
42 /etc/mcproxy.conf
43 /etc/config/mcproxy
44 endef
45
46 define Package/mcproxy/install
47 $(INSTALL_DIR) $(1)/etc
48 $(INSTALL_CONF) ./files/mcproxy.conf $(1)/etc/mcproxy.conf
49 $(INSTALL_DIR) $(1)/etc/config
50 $(INSTALL_CONF) ./files/mcproxy.config $(1)/etc/config/mcproxy
51 $(INSTALL_DIR) $(1)/etc/init.d
52 $(INSTALL_BIN) ./files/mcproxy.init $(1)/etc/init.d/mcproxy
53 $(INSTALL_DIR) $(1)/usr/sbin
54 $(INSTALL_BIN) $(PKG_BUILD_DIR)/mcproxy-bin $(1)/usr/sbin/mcproxy
55 endef
56
57 $(eval $(call BuildPackage,mcproxy))