2006-10-30 13:51:50 +00:00
|
|
|
#
|
2006-08-03 07:37:50 +00:00
|
|
|
# Copyright (C) 2006 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
|
2009-08-26 10:12:34 +00:00
|
|
|
PKG_VERSION:=0.1_beta5
|
2009-08-27 09:02:22 +00:00
|
|
|
PKG_RELEASE:=2
|
2006-08-03 07:37:50 +00:00
|
|
|
|
2009-06-26 20:30:51 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/igmpproxy
|
2009-08-26 10:12:34 +00:00
|
|
|
PKG_MD5SUM:=332a8db6c6541c9123e85e3ad8ebb74c
|
2006-10-30 13:51:50 +00:00
|
|
|
|
2006-08-03 07:37:50 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/igmpproxy
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Multicast Routing Daemon
|
|
|
|
URL:=http://sourceforge.net/projects/igmpproxy
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/igmpproxy/description
|
2009-06-26 20:30:51 +00:00
|
|
|
IGMPproxy is a simple dynamic Multicast Routing Daemon using
|
2007-10-14 04:32:56 +00:00
|
|
|
only IGMP signalling (Internet Group Management Protocol).
|
|
|
|
endef
|
|
|
|
|
2006-10-30 13:51:50 +00:00
|
|
|
define Package/igmpproxy/conffiles
|
|
|
|
/etc/igmpproxy.conf
|
2006-08-03 07:37:50 +00:00
|
|
|
endef
|
|
|
|
|
2008-08-05 20:50:12 +00:00
|
|
|
TARGET_CFLAGS += -Dlog=igmpproxy_log
|
|
|
|
|
2009-06-26 20:30:51 +00:00
|
|
|
define Build/Compile
|
2006-10-30 13:51:50 +00:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR)/src \
|
|
|
|
CC="$(TARGET_CC)" \
|
2009-06-26 20:30:51 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
2006-10-30 13:51:50 +00:00
|
|
|
endef
|
2006-08-03 07:37:50 +00:00
|
|
|
|
2009-06-26 20:30:51 +00:00
|
|
|
define Package/igmpproxy/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc
|
2007-01-12 17:41:14 +00:00
|
|
|
$(INSTALL_CONF) ./files/igmpproxy.conf $(1)/etc/
|
2009-08-27 09:02:22 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/igmpproxy.init $(1)/etc/init.d/igmpproxy
|
2009-06-26 20:30:51 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2007-01-02 09:51:04 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/igmpproxy $(1)/usr/sbin/
|
2006-08-03 07:37:50 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,igmpproxy))
|