summaryrefslogtreecommitdiff
path: root/package/igmpproxy/Makefile
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-02 11:28:08 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-02 11:28:08 +0000
commiteeb6fb95aacea3e60b42810b437bcabad01f1a25 (patch)
treed2ca78921f47404a9e68a372f71e8a9bbeb9e21c /package/igmpproxy/Makefile
parent857f03cfd6fa2ea0aa86f8f7ec84e8906a1a129f (diff)
Added igmpproxy, an IGMP daemon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3295 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/igmpproxy/Makefile')
-rw-r--r--package/igmpproxy/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/igmpproxy/Makefile b/package/igmpproxy/Makefile
new file mode 100644
index 0000000000..ef144e0dcc
--- /dev/null
+++ b/package/igmpproxy/Makefile
@@ -0,0 +1,31 @@
+# $Id: Makefile 1084 2005-05-27 17:32:43Z florian $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=igmpproxy
+PKG_VERSION:=0.1-beta2
+PKG_RELEASE:=1
+PKG_MD5SUM:=2a5a59480f44d4b14077a6b5319e9940
+
+PKG_SOURCE_URL:=@SF/igmpproxy
+PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
+PKG_CAT:=zcat
+
+include $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,IGMPPROXY,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured:
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
+ $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR)/src
+ touch $@
+
+$(IPKG_IGMPPROXY):
+ mkdir -p $(IDIR_IGMPPROXY)/usr/sbin $(IDIR_IGMPPROXY)/etc
+ $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(IDIR_IGMPPROXY)/usr/sbin/
+ $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME).conf $(IDIR_IGMPPROXY)/etc
+ $(STRIP) $(IDIR_IGMPPROXY)/usr/sbin/*
+ $(IPKG_BUILD) $(IDIR_IGMPPROXY) $(PACKAGE_DIR)