2014-05-08 13:14:34 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=igmpproxy
|
2018-04-20 19:59:22 +00:00
|
|
|
PKG_VERSION:=0.2.1
|
2018-07-18 16:51:59 +00:00
|
|
|
PKG_RELEASE:=2
|
2014-05-08 13:14:34 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2018-04-20 19:59:22 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/pali/igmpproxy/releases/download/${PKG_VERSION}/
|
|
|
|
PKG_HASH:=d351e623037390f575c1203d9cbb7ba33a8bdef85a3c5e1d2901c5a2a38449a1
|
2016-06-07 06:58:31 +00:00
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
2014-05-08 13:14:34 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
PKG_FIXUP:=autoreconf
|
2014-11-02 12:20:54 +00:00
|
|
|
PKG_LICENSE:=GPL-2.0+
|
2014-05-08 13:14:34 +00:00
|
|
|
|
|
|
|
define Package/igmpproxy
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
SUBMENU:=Routing and Redirection
|
2015-03-16 12:25:06 +00:00
|
|
|
DEPENDS:=+USE_GLIBC:librt
|
2014-05-08 13:14:34 +00:00
|
|
|
TITLE:=Multicast Routing Daemon
|
|
|
|
URL:=http://sourceforge.net/projects/igmpproxy
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/igmpproxy/description
|
|
|
|
IGMPproxy is a simple dynamic Multicast Routing Daemon using
|
|
|
|
only IGMP signalling (Internet Group Management Protocol).
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/igmpproxy/conffiles
|
|
|
|
/etc/config/igmpproxy
|
|
|
|
endef
|
|
|
|
|
|
|
|
TARGET_CFLAGS += -Dlog=igmpproxy_log
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR)/src \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/igmpproxy/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
|
|
$(INSTALL_CONF) ./files/igmpproxy.config $(1)/etc/config/igmpproxy
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/igmpproxy.init $(1)/etc/init.d/igmpproxy
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/igmpproxy $(1)/usr/sbin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,igmpproxy))
|