[package] update igmpproxy to 0.1-beta4 (#5408)
[openwrt/svn-archive/archive.git] / net / igmpproxy / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=igmpproxy
11 PKG_VERSION:=0.1_beta4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/igmpproxy
16 PKG_MD5SUM:=0a16178aeca5d1bf54c129cec9597f85
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/igmpproxy
21 SECTION:=net
22 CATEGORY:=Network
23 TITLE:=Multicast Routing Daemon
24 URL:=http://sourceforge.net/projects/igmpproxy
25 endef
26
27 define Package/igmpproxy/description
28 IGMPproxy is a simple dynamic Multicast Routing Daemon using
29 only IGMP signalling (Internet Group Management Protocol).
30 endef
31
32 define Package/igmpproxy/conffiles
33 /etc/igmpproxy.conf
34 endef
35
36 TARGET_CFLAGS += -Dlog=igmpproxy_log
37
38 define Build/Compile
39 $(MAKE) -C $(PKG_BUILD_DIR)/src \
40 CC="$(TARGET_CC)" \
41 CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
42 endef
43
44 define Package/igmpproxy/install
45 $(INSTALL_DIR) $(1)/etc
46 $(INSTALL_CONF) ./files/igmpproxy.conf $(1)/etc/
47 $(INSTALL_DIR) $(1)/usr/sbin
48 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/igmpproxy $(1)/usr/sbin/
49 endef
50
51 $(eval $(call BuildPackage,igmpproxy))