2 # Copyright (C) 2006-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/igmpproxy
16 PKG_MD5SUM
:=c56f41ec195bc1fe016369bf74efc5a1
18 include $(INCLUDE_DIR
)/package.mk
22 define Package
/igmpproxy
25 SUBMENU
:=Routing and Redirection
26 DEPENDS
:=+USE_EGLIBC
:librt
27 TITLE
:=Multicast Routing Daemon
28 URL
:=http
://sourceforge.net
/projects
/igmpproxy
31 define Package
/igmpproxy
/description
32 IGMPproxy is a simple dynamic Multicast Routing Daemon using
33 only IGMP signalling
(Internet Group Management Protocol
).
36 define Package
/igmpproxy
/conffiles
40 TARGET_CFLAGS
+= -Dlog
=igmpproxy_log
43 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src \
45 CFLAGS
="$(TARGET_CFLAGS) -std=gnu99"
48 define Package
/igmpproxy
/install
49 $(INSTALL_DIR
) $(1)/etc
/config
50 $(INSTALL_CONF
) .
/files
/igmpproxy.config
$(1)/etc
/config
/igmpproxy
51 $(INSTALL_DIR
) $(1)/etc
/init.d
52 $(INSTALL_BIN
) .
/files
/igmpproxy.init
$(1)/etc
/init.d
/igmpproxy
53 $(INSTALL_DIR
) $(1)/usr
/sbin
54 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/igmpproxy
$(1)/usr
/sbin
/
57 $(eval
$(call BuildPackage
,igmpproxy
))