diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-08 13:14:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-08 13:14:34 +0000 |
commit | f603f984c6bcbeb4a57c9952f5873725758a195e (patch) | |
tree | cd9973ea57cb2666e964412a5e2b7232a90359f2 /package/network/services/igmpproxy/Makefile | |
parent | 8c53f2922051863a891b4362c7b8e799815d9059 (diff) | |
download | master-31e0f0ae-f603f984c6bcbeb4a57c9952f5873725758a195e.tar.gz master-31e0f0ae-f603f984c6bcbeb4a57c9952f5873725758a195e.tar.bz2 master-31e0f0ae-f603f984c6bcbeb4a57c9952f5873725758a195e.zip |
igmpproxy: move to trunk, add myself as maintainer
SVN-Revision: 40730
Diffstat (limited to 'package/network/services/igmpproxy/Makefile')
-rw-r--r-- | package/network/services/igmpproxy/Makefile | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/package/network/services/igmpproxy/Makefile b/package/network/services/igmpproxy/Makefile new file mode 100644 index 0000000000..47b995bb51 --- /dev/null +++ b/package/network/services/igmpproxy/Makefile @@ -0,0 +1,58 @@ +# +# Copyright (C) 2006-2011 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=igmpproxy +PKG_VERSION:=0.1 +PKG_RELEASE:=8 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/igmpproxy +PKG_MD5SUM:=c56f41ec195bc1fe016369bf74efc5a1 +PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org> + +include $(INCLUDE_DIR)/package.mk + +PKG_FIXUP:=autoreconf + +define Package/igmpproxy + SECTION:=net + CATEGORY:=Network + SUBMENU:=Routing and Redirection + DEPENDS:=+USE_EGLIBC:librt + TITLE:=Multicast Routing Daemon + URL:=http://sourceforge.net/projects/igmpproxy +endef + +define Package/igmpproxy/description + IGMPproxy is a simple dynamic Multicast Routing Daemon using + only IGMP signalling (Internet Group Management Protocol). +endef + +define Package/igmpproxy/conffiles +/etc/config/igmpproxy +endef + +TARGET_CFLAGS += -Dlog=igmpproxy_log + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR)/src \ + CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS) -std=gnu99" +endef + +define Package/igmpproxy/install + $(INSTALL_DIR) $(1)/etc/config + $(INSTALL_CONF) ./files/igmpproxy.config $(1)/etc/config/igmpproxy + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/igmpproxy.init $(1)/etc/init.d/igmpproxy + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/igmpproxy $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,igmpproxy)) |