check_logfiles: 3.7.5.1
[omd.git] / packages / nrpe / Makefile
blob69c3b7cd2be2147015fa11ece0d96409cf1d5d0e
1 include ../../Makefile.omd
3 NAME = nrpe
4 VERSION = 2.13
5 DIR = $(NAME)-$(VERSION)
7 .PHONY: skel
9 # Configure options for Nagios. Since we want to compile
10 # as non-root, we use our own user and group for compiling.
11 # All files will be packaged as user 'root' later anyway.
12 CONFIGUREOPTS = ""
14 build:
15 tar xzf $(DIR).tar.gz
16 set -e ; for p in patches/*.dif ; do \
17 echo "applying $$p..." ; \
18 ( cd $(DIR) ; patch -p1 -b ) < $$p ; \
19 done
20 cd $(DIR) ; ./configure $(CONFIGUREOPTS)
21 $(MAKE) -C $(DIR) all
23 install:
24 install -m 755 $(DIR)/src/check_nrpe $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins
26 mkdir $(DESTDIR)$(OMD_ROOT)/share/doc/nrpe
27 install -m 644 $(DIR)/README $(DESTDIR)$(OMD_ROOT)/share/doc/nrpe
28 install -m 644 $(DIR)/LEGAL $(DESTDIR)$(OMD_ROOT)/share/doc/nrpe
29 install -m 644 $(DIR)/SECURITY $(DESTDIR)$(OMD_ROOT)/share/doc/nrpe
31 skel:
33 clean:
34 rm -rf $(DIR)