[packages] transmission: update to 2.61
[openwrt/svn-archive/archive.git] / admin / muninlite / Makefile
1 #
2 # Copyright (C) 2006-2011 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:=3
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_MD5SUM:=a8cc86f0cc536a6c22dc298f4ed55339
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/muninlite
21 SECTION:=admin
22 CATEGORY:=Administration
23 DEPENDS:=+xinetd
24 TITLE:=Munin node implemented in shell
25 URL:=http://sourceforge.net/projects/muninlite/
26 endef
27
28 define Package/muninlite/Default/description
29 Munin node implemented in shell.
30 Munin is a monitoring system for Unix networks.
31 endef
32
33 define Package/muninlite/install
34 $(INSTALL_DIR) $(1)/usr/sbin/
35 $(INSTALL_BIN) $(PKG_BUILD_DIR)/munin-node $(1)/usr/sbin/
36 $(INSTALL_DIR) $(1)/etc/xinetd.d
37 $(INSTALL_DATA) ./files/etc/xinetd.d/munin $(1)/etc/xinetd.d/
38 endef
39
40 define Package/muninlite/conffiles
41 /etc/xinetd.d/munin
42 endef
43
44 define Build/Configure
45 endef
46
47 define Build/Compile
48 $(MAKE) -C $(PKG_BUILD_DIR)
49 endef
50
51 $(eval $(call BuildPackage,muninlite))