You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.3 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=muninlite
  9. PKG_VERSION:=2.1.2
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://github.com/munin-monitoring/$(PKG_NAME)/releases/download/$(PKG_VERSION)/
  13. PKG_HASH:=5a49da30944f3b85a0030b661a27e84c06c7f640050802e799304b11cc635ffc
  14. PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
  15. PKG_LICENSE:=GPL-2.0-or-later
  16. PKG_LICENSE_FILES:=LICENSE
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/muninlite
  19. SECTION:=admin
  20. CATEGORY:=Administration
  21. DEPENDS:=+xinetd
  22. TITLE:=Munin node implemented in shell
  23. URL:=https://github.com/munin-monitoring/muninlite
  24. endef
  25. define Package/muninlite/Default/description
  26. Munin node implemented in shell.
  27. Munin is a monitoring system for Unix networks.
  28. endef
  29. define Package/muninlite/install
  30. $(INSTALL_DIR) $(1)/usr/sbin/
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/muninlite $(1)/usr/sbin/
  32. $(INSTALL_DIR) $(1)/etc/xinetd.d
  33. $(INSTALL_DATA) ./files/etc/xinetd.d/muninlite $(1)/etc/xinetd.d/
  34. $(INSTALL_DIR) $(1)/etc/munin/plugins
  35. endef
  36. define Package/muninlite/conffiles
  37. /etc/xinetd.d/muninlite
  38. endef
  39. $(eval $(call BuildPackage,muninlite))