[package] update shell-fm to 0.6 (#5407)
[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-beta2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/igmpproxy
16 PKG_MD5SUM:=2a5a59480f44d4b14077a6b5319e9940
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/igmpproxy
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=Multicast Routing Daemon
26 URL:=http://sourceforge.net/projects/igmpproxy
27 endef
28
29 define Package/igmpproxy/description
30 IGMPproxy is a simple dynamic Multicast Routing Daemon using
31 only IGMP signalling (Internet Group Management Protocol).
32 endef
33
34 define Package/igmpproxy/conffiles
35 /etc/igmpproxy.conf
36 endef
37
38 TARGET_CFLAGS += -Dlog=igmpproxy_log
39
40 define Build/Compile
41 $(MAKE) -C $(PKG_BUILD_DIR)/src \
42 CC="$(TARGET_CC)" \
43 CFLAGS="$(TARGET_CFLAGS)"
44 endef
45
46 define Package/igmpproxy/install
47 $(INSTALL_DIR) $(1)/etc
48 $(INSTALL_CONF) ./files/igmpproxy.conf $(1)/etc/
49 $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/igmpproxy $(1)/usr/sbin/
51 endef
52
53 $(eval $(call BuildPackage,igmpproxy))