Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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:=10
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_HASH:=736482dd6d6849d014d975b1f5794f20dda6e123dbba2d8c2f169c8e787e6f7e
  14. PKG_LICENSE:=GPL-2.0-or-later
  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))