DESCRIPTION:= is obselete
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=igmpproxy
12 PKG_VERSION:=0.1-beta2
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/igmpproxy
17 PKG_MD5SUM:=2a5a59480f44d4b14077a6b5319e9940
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/igmpproxy
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=Multicast Routing Daemon
28 URL:=http://sourceforge.net/projects/igmpproxy
29 endef
30
31 define Package/igmpproxy/description
32 IGMPproxy is a simple dynamic Multicast Routing Daemon using
33 only IGMP signalling (Internet Group Management Protocol).
34 endef
35
36 define Package/igmpproxy/conffiles
37 /etc/igmpproxy.conf
38 endef
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))