X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=net%2Figmpproxy%2FMakefile;h=de081cc33d71a3977a5b0d3d7dba696b936cb03a;hb=c60e58bec97ab4ca92795b11bcb7ebb36f7709f7;hp=4fa9cf1c28ec4f5583258cb50ea3e706d43f836e;hpb=5f701f84a2b163d102d84874b8f6a05f0216f303;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/net/igmpproxy/Makefile b/net/igmpproxy/Makefile index 4fa9cf1c28..de081cc33d 100644 --- a/net/igmpproxy/Makefile +++ b/net/igmpproxy/Makefile @@ -1,50 +1,55 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2011 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk PKG_NAME:=igmpproxy -PKG_VERSION:=0.1-beta2 -PKG_RELEASE:=1 +PKG_VERSION:=0.1 +PKG_RELEASE:=8 -PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/igmpproxy -PKG_MD5SUM:=2a5a59480f44d4b14077a6b5319e9940 -PKG_CAT:=zcat - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) +PKG_MD5SUM:=c56f41ec195bc1fe016369bf74efc5a1 include $(INCLUDE_DIR)/package.mk +PKG_FIXUP:=autoreconf + define Package/igmpproxy SECTION:=net CATEGORY:=Network + SUBMENU:=Routing and Redirection TITLE:=Multicast Routing Daemon - DESCRIPTION:=\ - IGMPproxy is a simple dynamic Multicast Routing Daemon using \\\ - only IGMP signalling (Internet Group Management Protocol). 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/igmpproxy.conf +/etc/config/igmpproxy endef -define Build/Compile +TARGET_CFLAGS += -Dlog=igmpproxy_log + +define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/src \ CC="$(TARGET_CC)" \ - CFLAGS="$(TARGET_CFLAGS)" + CFLAGS="$(TARGET_CFLAGS) -std=gnu99" endef -define Package/igmpproxy/install - $(INSTALL_DIR) $(1)/etc - $(INSTALL_CONF) ./files/igmpproxy.conf $(1)/etc/ - $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc +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