Makefile (1242B)
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:=1.0.4 12 PKG_RELEASE:=8 13 14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 15 PKG_SOURCE_URL:=@SF/$(PKG_NAME) 16 PKG_MD5SUM:=a8cc86f0cc536a6c22dc298f4ed55339 17 PKG_LICENSE:=GPL-2.0+ 18 PKG_LICENSE_FILES:=LICENSE 19 20 include $(INCLUDE_DIR)/package.mk 21 22 define Package/muninlite 23 SECTION:=admin 24 CATEGORY:=Administration 25 DEPENDS:=+xinetd 26 TITLE:=Munin node implemented in shell 27 URL:=http://sourceforge.net/projects/muninlite/ 28 PKG_MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com> 29 endef 30 31 define Package/muninlite/Default/description 32 Munin node implemented in shell. 33 Munin is a monitoring system for Unix networks. 34 endef 35 36 define Package/muninlite/install 37 $(INSTALL_DIR) $(1)/usr/sbin/ 38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/munin-node $(1)/usr/sbin/ 39 $(INSTALL_DIR) $(1)/etc/xinetd.d 40 $(INSTALL_DATA) ./files/etc/xinetd.d/munin $(1)/etc/xinetd.d/ 41 endef 42 43 define Package/muninlite/conffiles 44 /etc/xinetd.d/munin 45 endef 46 47 define Build/Configure 48 endef 49 50 define Build/Compile 51 $(MAKE) -C $(PKG_BUILD_DIR) 52 endef 53 54 $(eval $(call BuildPackage,muninlite))