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.

54 lines
1.2 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:=1.0.4
  10. PKG_RELEASE:=5
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_MD5SUM:=a8cc86f0cc536a6c22dc298f4ed55339
  14. PKG_LICENSE:=GPL-2.0+
  15. PKG_LICENSE_FILES:=LICENSE
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/muninlite
  18. SECTION:=admin
  19. CATEGORY:=Administration
  20. DEPENDS:=+xinetd
  21. TITLE:=Munin node implemented in shell
  22. URL:=http://sourceforge.net/projects/muninlite/
  23. PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
  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)/munin-node $(1)/usr/sbin/
  32. $(INSTALL_DIR) $(1)/etc/xinetd.d
  33. $(INSTALL_DATA) ./files/etc/xinetd.d/munin $(1)/etc/xinetd.d/
  34. endef
  35. define Package/muninlite/conffiles
  36. /etc/xinetd.d/munin
  37. endef
  38. define Build/Configure
  39. endef
  40. define Build/Compile
  41. $(MAKE) -C $(PKG_BUILD_DIR)
  42. endef
  43. $(eval $(call BuildPackage,muninlite))