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
:=https
://github.com
/pali
/igmpproxy
/releases
/download
/${PKG_VERSION}/
16 PKG_HASH
:=d351e623037390f575c1203d9cbb7ba33a8bdef85a3c5e1d2901c5a2a38449a1
17 PKG_MAINTAINER
:=Felix Fietkau
<nbd@nbd.name
>
19 include $(INCLUDE_DIR
)/package.mk
24 define Package
/igmpproxy
27 SUBMENU
:=Routing and Redirection
28 DEPENDS
:=+USE_GLIBC
:librt
29 TITLE
:=Multicast Routing Daemon
30 URL
:=http
://sourceforge.net
/projects
/igmpproxy
33 define Package
/igmpproxy
/description
34 IGMPproxy is a simple dynamic Multicast Routing Daemon using
35 only IGMP signalling
(Internet Group Management Protocol
).
38 define Package
/igmpproxy
/conffiles
42 TARGET_CFLAGS
+= -Dlog
=igmpproxy_log
45 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src \
47 CFLAGS
="$(TARGET_CFLAGS) -std=gnu99"
50 define Package
/igmpproxy
/install
51 $(INSTALL_DIR
) $(1)/etc
/config
52 $(INSTALL_CONF
) .
/files
/igmpproxy.config
$(1)/etc
/config
/igmpproxy
53 $(INSTALL_DIR
) $(1)/etc
/init.d
54 $(INSTALL_BIN
) .
/files
/igmpproxy.init
$(1)/etc
/init.d
/igmpproxy
55 $(INSTALL_DIR
) $(1)/usr
/sbin
56 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/igmpproxy
$(1)/usr
/sbin
/
59 $(eval
$(call BuildPackage
,igmpproxy
))