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.

52 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. include $(INCLUDE_DIR)/package.mk
  15. define Package/muninlite
  16. SECTION:=admin
  17. CATEGORY:=Administration
  18. DEPENDS:=+xinetd
  19. TITLE:=Munin node implemented in shell
  20. URL:=http://sourceforge.net/projects/muninlite/
  21. MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
  22. endef
  23. define Package/muninlite/Default/description
  24. Munin node implemented in shell.
  25. Munin is a monitoring system for Unix networks.
  26. endef
  27. define Package/muninlite/install
  28. $(INSTALL_DIR) $(1)/usr/sbin/
  29. $(INSTALL_BIN) $(PKG_BUILD_DIR)/munin-node $(1)/usr/sbin/
  30. $(INSTALL_DIR) $(1)/etc/xinetd.d
  31. $(INSTALL_DATA) ./files/etc/xinetd.d/munin $(1)/etc/xinetd.d/
  32. endef
  33. define Package/muninlite/conffiles
  34. /etc/xinetd.d/munin
  35. endef
  36. define Build/Configure
  37. endef
  38. define Build/Compile
  39. $(MAKE) -C $(PKG_BUILD_DIR)
  40. endef
  41. $(eval $(call BuildPackage,muninlite))