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.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=igmpproxy
|
|
|
|
PKG_VERSION:=0.1-beta2
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/igmpproxy
|
|
|
|
PKG_MD5SUM:=2a5a59480f44d4b14077a6b5319e9940
|
2006-08-03 07:37:50 +00:00
|
|
|
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
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
|
|
|
|
IGMPproxy is a simple dynamic Multicast Routing Daemon using
|
|
|
|
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
|
|
|
|
|
2006-10-30 13:51:50 +00:00
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR)/src \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)"
|
|
|
|
endef
|
2006-08-03 07:37:50 +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/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc
|
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))
|