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