check_logfiles: 3.7.5.1
[omd.git] / packages / check_webinject / Makefile
blobc360f7d7729d01b95a14be42a572b749457a6b41
1 include ../../Makefile.omd
3 NAME = check_webinject
4 VERSION = 1.88
5 DIR = Webinject-$(VERSION)
7 .PHONY: skel
9 build:
10 tar xzf $(DIR).tar.gz
11 for p in patches/*.patch ; do \
12 echo "applying $$p..." ; \
13 ( cd $(DIR) ; patch -p1 ) < $$p || exit 1; \
14 done
15 export PERL5LIB=$(P5TMPDIST)/dest/lib/perl5; \
16 cd $(DIR) && echo "" | $(PERL) Makefile.PL
17 cd $(DIR) && $(MAKE) check_webinject
19 install:
20 [ -d $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins ] || mkdir -p $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins
21 install -m 755 $(DIR)/check_webinject $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins/
23 skel:
25 clean:
26 rm -rf $(DIR)