2 # Copyright (C) 2019 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_LICENSE
:=GPL-2.0
-or-later
14 PKG_LICENSE_FILES
:=COPYING
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
17 PKG_SOURCE_URL
:=https
://github.com
/troglobit
/smcroute
/releases
/download
/$(PKG_VERSION
)
18 PKG_HASH
:=431be94c46646767f69c85fee445277b7e765a55177d3ee29522416cfe2cc067
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/smcroute
27 SUBMENU
:=Routing and Redirection
28 TITLE
:=Static Multicast Routing Daemon
29 URL
:=http
://troglobit.com
/smcroute.html
30 MAINTAINER
:=Moritz Warning
<moritzwarning@web.de
>
33 define Package
/smcroute
/description
34 SMCRoute is a command line tool to manipulate the multicast routes of the Linux kernel.
37 define Package
/smcroute
/conffiles
44 define Package
/smcroute
/install
45 $(INSTALL_DIR
) $(1)/usr
/sbin
46 $(INSTALL_DIR
) $(1)/usr
/bin
47 $(INSTALL_DIR
) $(1)/etc
/init.d
/
48 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/smcrouted
$(1)/usr
/sbin
/
49 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/src
/smcroutectl
$(1)/usr
/bin
/
50 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/smcroute.conf
$(1)/etc
51 $(INSTALL_BIN
) .
/files
/smcroute.init
$(1)/etc
/init.d
/smcroute
54 $(eval
$(call BuildPackage
,smcroute
))