add quotes to TARGET_CC and TARGET_CROSS to help with distcc and ccache (yet again)
[openwrt/svn-archive/archive.git] / net / igmpproxy / Makefile
1 # Copyright (C) 2006 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6 # $Id$
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=igmpproxy
11 PKG_VERSION:=0.1-beta2
12 PKG_RELEASE:=1
13 PKG_MD5SUM:=2a5a59480f44d4b14077a6b5319e9940
14
15 PKG_SOURCE_URL:=@SF/igmpproxy
16 PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
17 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
18 PKG_CAT:=zcat
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/igmpproxy
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=Multicast Routing Daemon
26 DESCRIPTION:=IGMPproxy is a simple dynamic Multicast Routing Daemon using\\\
27 only IGMP signalling (Internet Group Management Protocol).\\\
28 URL:=http://sourceforge.net/projects/igmpproxy
29 endef
30
31 define Build/Compile
32 $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR)/src
33 endef
34
35
36 define Package/igmpproxy/install
37 mkdir -p $(1)/usr/sbin $(1)/etc
38 $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
39 $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME).conf $(1)/etc
40 endef
41
42 $(eval $(call BuildPackage,igmpproxy))