Merge pull request #16194 from miska/snort3-master
[feed/packages.git] / admin / muninlite / Makefile
1 #
2 # Copyright (C) 2006-2014 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:=muninlite
11 PKG_VERSION:=2.1.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://github.com/munin-monitoring/$(PKG_NAME)/releases/download/$(PKG_VERSION)/
16 PKG_HASH:=5a49da30944f3b85a0030b661a27e84c06c7f640050802e799304b11cc635ffc
17
18 PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
19 PKG_LICENSE:=GPL-2.0-or-later
20 PKG_LICENSE_FILES:=LICENSE
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/muninlite
25 SECTION:=admin
26 CATEGORY:=Administration
27 DEPENDS:=+xinetd
28 TITLE:=Munin node implemented in shell
29 URL:=https://github.com/munin-monitoring/muninlite
30 endef
31
32 define Package/muninlite/Default/description
33 Munin node implemented in shell.
34 Munin is a monitoring system for Unix networks.
35 endef
36
37 define Package/muninlite/install
38 $(INSTALL_DIR) $(1)/usr/sbin/
39 $(INSTALL_BIN) $(PKG_BUILD_DIR)/muninlite $(1)/usr/sbin/
40 $(INSTALL_DIR) $(1)/etc/xinetd.d
41 $(INSTALL_DATA) ./files/etc/xinetd.d/muninlite $(1)/etc/xinetd.d/
42 $(INSTALL_DIR) $(1)/etc/munin/plugins
43 endef
44
45 define Package/muninlite/conffiles
46 /etc/xinetd.d/muninlite
47 endef
48
49 $(eval $(call BuildPackage,muninlite))