cshore de6e9d7ef9 [net] Routing and Redirection: Moved IGMP Routing Daemon to Routing and Redirection submenu.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-12 07:18:25 +00:00

55 lines
1.3 KiB
Makefile

#
# Copyright (C) 2006-2010 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
PKG_VERSION:=0.1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/igmpproxy
PKG_MD5SUM:=c56f41ec195bc1fe016369bf74efc5a1
include $(INCLUDE_DIR)/package.mk
define Package/igmpproxy
SECTION:=net
CATEGORY:=Network
SUBMENU:=Routing and Redirection
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/igmpproxy.conf
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
$(INSTALL_CONF) ./files/igmpproxy.conf $(1)/etc/
$(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))