4f3785cfa403351351ea9d44973738894e4e3dcf
[openwrt/openwrt.git] / package / network / services / igmpproxy / Makefile
1 #
2 # Copyright (C) 2006-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=igmpproxy
11 PKG_VERSION:=0.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://github.com/pali/igmpproxy/releases/download/${PKG_VERSION}/
16 PKG_HASH:=d1fc244cb2fbbf99f720bda3e841fe59ece9b6919073790b4b892739b1b844eb
17 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
18
19 include $(INCLUDE_DIR)/package.mk
20
21 PKG_FIXUP:=autoreconf
22 PKG_LICENSE:=GPL-2.0+
23
24 define Package/igmpproxy
25 SECTION:=net
26 CATEGORY:=Network
27 SUBMENU:=Routing and Redirection
28 DEPENDS:=+USE_GLIBC:librt
29 TITLE:=Multicast Routing Daemon
30 URL:=http://sourceforge.net/projects/igmpproxy
31 endef
32
33 define Package/igmpproxy/description
34 IGMPproxy is a simple dynamic Multicast Routing Daemon using
35 only IGMP signalling (Internet Group Management Protocol).
36 endef
37
38 define Package/igmpproxy/conffiles
39 /etc/config/igmpproxy
40 endef
41
42 define Package/igmpproxy/install
43 $(INSTALL_DIR) $(1)/etc/config
44 $(INSTALL_CONF) ./files/igmpproxy.config $(1)/etc/config/igmpproxy
45 $(INSTALL_DIR) $(1)/etc/init.d
46 $(INSTALL_BIN) ./files/igmpproxy.init $(1)/etc/init.d/igmpproxy
47 $(INSTALL_DIR) $(1)/usr/sbin
48 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/igmpproxy $(1)/usr/sbin/
49 endef
50
51 $(eval $(call BuildPackage,igmpproxy))