source: packages/net/igmpproxy/Makefile @ 31331

Last change on this file since 31331 was 31331, checked in by jogo, 5 years ago

packages: igmpproxy: prevent leakage of e.g. UPnP servers to upstream

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1#
2# Copyright (C) 2006-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=igmpproxy
11PKG_VERSION:=0.1
12PKG_RELEASE:=6
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=@SF/igmpproxy
16PKG_MD5SUM:=c56f41ec195bc1fe016369bf74efc5a1
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/igmpproxy
21  SECTION:=net
22  CATEGORY:=Network
23  SUBMENU:=Routing and Redirection
24  TITLE:=Multicast Routing Daemon
25  URL:=http://sourceforge.net/projects/igmpproxy
26endef
27
28define Package/igmpproxy/description
29        IGMPproxy is a simple dynamic Multicast Routing Daemon using
30        only IGMP signalling (Internet Group Management Protocol).
31endef
32
33define Package/igmpproxy/conffiles
34/etc/igmpproxy.conf
35endef
36
37TARGET_CFLAGS += -Dlog=igmpproxy_log
38
39define Build/Compile
40        $(MAKE) -C $(PKG_BUILD_DIR)/src \
41                CC="$(TARGET_CC)" \
42                CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
43endef
44
45define Package/igmpproxy/install
46        $(INSTALL_DIR) $(1)/etc
47        $(INSTALL_CONF) ./files/igmpproxy.conf $(1)/etc/
48        $(INSTALL_DIR) $(1)/etc/init.d
49        $(INSTALL_BIN) ./files/igmpproxy.init $(1)/etc/init.d/igmpproxy
50        $(INSTALL_DIR) $(1)/usr/sbin
51        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/igmpproxy $(1)/usr/sbin/
52endef
53
54$(eval $(call BuildPackage,igmpproxy))
Note: See TracBrowser for help on using the repository browser.