nagios-plugins: build check_radius needs libradius
[omd.git] / packages / check_webinject / Makefile
blob26d44138fcd46d5d0a93aa727403acd5146f921b
1 include ../../Makefile.omd
3 NAME = check_webinject
4 VERSION = 1.86
5 DIR = Webinject-$(VERSION)
7 .PHONY: skel
9 build:
10 tar xzf $(DIR).tar.gz
11 export PERL5LIB=$(P5TMPDIST)/dest/lib/perl5; \
12 cd $(DIR) && echo "" | $(PERL) Makefile.PL
13 cd $(DIR) && $(MAKE) check_webinject
15 install:
16 [ -d $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins ] || mkdir -p $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins
17 install -m 755 $(DIR)/check_webinject $(DESTDIR)$(OMD_ROOT)/lib/nagios/plugins/
19 skel:
21 clean:
22 rm -rf $(DIR)