blob: 6d1791017777145cebbd7ca7797914d2d38c0366 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#
# Copyright (C) 2016 Christian Pointner,
# <equinox@helsinki.at>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This Makefile builds check_mk_agent Package for OpenWRT
#
# $Id: $
include $(TOPDIR)/rules.mk
PKG_NAME:=check_mk_agent
PKG_VERSION:=2016-11-24
PKG_RELEASE:=1
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/check_mk_agent
SECTION:=utils
CATEGORY:=Utilities
TITLE:=check-mk agent
URL:=http://www.helsinki.at
MAINTAINER:=Christian Pointner <equinox@helsinki.at>
DEPENDS:=+xinetd
endef
define Package/check_mk_agent/conffiles
/etc/xinetd.d/check_mk
endef
define Package/check_mk_agent/description
Agent for the check-mk monitoring service.
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/check_mk_agent/install
$(INSTALL_DIR) $(1)/usr/lib/check_mk_agent/local
$(INSTALL_DIR) $(1)/usr/lib/check_mk_agent/plugins
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) ./files/check_mk_agent $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/xinetd.d/
$(INSTALL_BIN) ./files/check_mk.xinetd $(1)/etc/xinetd.d/check_mk
endef
$(eval $(call BuildPackage,check_mk_agent))
|