nico 5cb332fb35 massive Makefile cleanup, add missing 'svn:keywords' property
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-30 13:51:50 +00:00

52 lines
1.2 KiB
Makefile

#
# Copyright (C) 2006 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_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/igmpproxy
PKG_MD5SUM:=2a5a59480f44d4b14077a6b5319e9940
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/igmpproxy
SECTION:=net
CATEGORY:=Network
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/conffiles
/etc/igmpproxy.conf
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/src \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)"
endef
define Package/igmpproxy/install
install -d -m0755 $(1)/etc
install -m0755 $(PKG_BUILD_DIR)/src/igmpproxy.conf $(1)/etc
install -d -m0755 $(1)/usr/sbin $(1)/etc
install -m0644 $(PKG_BUILD_DIR)/src/igmpproxy $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,igmpproxy))