source: packages/admin/muninlite/Makefile @ 25587

Last change on this file since 25587 was 25587, checked in by florian, 5 years ago

[package] muninlite: update to Version 1.0.4 (#8877)

Signed-off-by: Andreas Oeldenberger <Andreas.Oeldenberger@…>

File size: 1.3 KB
Line 
1#
2# Copyright (C) 2006 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=muninlite
11PKG_VERSION:=1.0.4
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16PKG_MD5SUM:=a8cc86f0cc536a6c22dc298f4ed55339
17
18include $(INCLUDE_DIR)/package.mk
19
20define 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/
26endef
27
28define Package/muninlite/Default/description
29        Munin node implemented in shell.
30        Munin is a monitoring system for Unix networks.
31endef
32
33define Package/muninlite/postinst
34#!/bin/sh
35grep -q '^munin[[:space:]]*4949/tcp' $${IPKG_INSTROOT}/etc/services 2>/dev/null
36[ $$? -ne 0 ] && echo "munin       4949/tcp" >> $${IPKG_INSTROOT}/etc/services
37exit 0
38endef
39
40define Package/muninlite/install
41        $(INSTALL_DIR) $(1)/usr/sbin/
42        $(INSTALL_BIN) $(PKG_BUILD_DIR)/munin-node $(1)/usr/sbin/
43        $(INSTALL_DIR) $(1)/etc/xinetd.d
44        $(INSTALL_DATA) ./files/etc/xinetd.d/munin $(1)/etc/xinetd.d/
45endef
46
47define Build/Configure
48endef
49
50define Build/Compile
51        $(MAKE) -C $(PKG_BUILD_DIR)
52endef
53
54$(eval $(call BuildPackage,muninlite))
Note: See TracBrowser for help on using the repository browser.