summaryrefslogtreecommitdiffstats
path: root/openwrt/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
commitfba90397c2eaea9efa7f9af7b475fe48f310eb10 (patch)
treee9fc21b5e44211c93b40c42e06d27895244c199a /openwrt/package/igmpproxy/Makefile
parent7b80533db75c27fc7d209d917abefd7794c8337f (diff)
Added igmpproxy, an IGMP daemon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3295 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/igmpproxy/Makefile')
-rw-r--r--openwrt/package/igmpproxy/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/openwrt/package/igmpproxy/Makefile b/openwrt/package/igmpproxy/Makefile
new file mode 100644
index 000000000..ef144e0dc
--- /dev/null
+++ b/openwrt/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)