perl-modules: Added Monitoring-Plugin module
[omd.git] / packages / perl-modules / Makefile
blobe5c75e1006a5716154add41359402617c03b3e90
1 include ../../Makefile.omd
3 NAME = perl-modules
4 VERSION = $(OMD_VERSION)
5 DISTRO = $(shell ../../distro)
7 MODULES = \
8 ExtUtils-MakeMaker-6.72.tar.gz \
9 Any-Moose-0.21.tar.gz \
10 AppConfig-1.66.tar.gz \
11 Attribute-Handlers-0.93.tar.gz \
12 B-Keywords-1.13.tar.gz \
13 CPAN-1.9402.tar.gz \
14 Capture-Tiny-0.22.tar.gz \
15 Carp-Clan-6.04.tar.gz \
16 Class-Accessor-0.34.tar.gz \
17 Class-C3-XS-0.13.tar.gz \
18 Class-Data-Inheritable-0.08.tar.gz \
19 Class-Inspector-1.28.tar.gz \
20 Class-Method-Modifiers-2.04.tar.gz \
21 Class-MethodMaker-2.18.tar.gz \
22 Class-Singleton-1.4.tar.gz \
23 Clone-0.34.tar.gz \
24 Compress-Raw-Bzip2-2.062.tar.gz \
25 Compress-Raw-Zlib-2.062.tar.gz \
26 Config-General-2.52.tar.gz \
27 Config-Tiny-2.14.tar.gz \
28 Crypt-Blowfish_PP-1.12.tar.gz \
29 Crypt-RC4-2.02.tar.gz \
30 Crypt-Rijndael-1.11.tar.gz \
31 DBI-1.628.tar.gz \
32 Data-Dump-1.22.tar.gz \
33 Data-Dumper-2.145.tar.gz \
34 Devel-PPPort-3.21.tar.gz \
35 Devel-StackTrace-1.30.tar.gz \
36 Devel-StackTrace-AsHTML-0.14.tar.gz \
37 Digest-1.17.tar.gz \
38 Digest-MD5-2.53.tar.gz \
39 Digest-Perl-MD5-1.8.tar.gz \
40 Digest-SHA1-2.13.tar.gz \
41 Email-Address-1.900.tar.gz \
42 Encode-2.52.tar.gz \
43 Encode-Locale-1.03.tar.gz \
44 Exception-Class-1.37.tar.gz \
45 Exporter-5.68.tar.gz \
46 ExtUtils-Config-0.007.tar.gz \
47 ExtUtils-Constant-0.23.tar.gz \
48 ExtUtils-Depends-0.304.tar.gz \
49 ExtUtils-InstallPaths-0.009.tar.gz \
50 ExtUtils-Manifest-1.61.tar.gz \
51 ExtUtils-PkgConfig-1.14.tar.gz \
52 FCGI-0.74.tar.gz \
53 FCGI-ProcManager-0.24.tar.gz \
54 FCGI-ProcManager-MaxRequests-0.02.tar.gz \
55 File-Compare-1.1001.tar.gz \
56 File-Copy-Recursive-0.38.tar.gz \
57 File-Path-2.09.tar.gz \
58 File-ShareDir-1.03.tar.gz \
59 File-ShareDir-Install-0.04.tar.gz \
60 File-Slurp-9999.19.tar.gz \
61 File-Temp-0.22.tar.gz \
62 Filesys-Notify-Simple-0.12.tar.gz \
63 Filter-1.49.tar.gz \
64 GD-2.50.tar.gz \
65 Getopt-Long-2.41.tar.gz \
66 HTML-Tagset-3.20.tar.gz \
67 HTTP-Date-6.02.tar.gz \
68 HTTP-Parser-XS-0.16.tar.gz \
69 Hash-MultiValue-0.15.tar.gz \
70 Hash-Util-FieldHash-Compat-0.03.tar.gz \
71 IO-Compress-2.062.tar.gz \
72 IO-String-1.08.tar.gz \
73 IO-Zlib-1.10.tar.gz \
74 IO-stringy-2.110.tar.gz \
75 JSON-2.59.tar.gz \
76 JSON-Any-1.30.tar.gz \
77 JSON-PP-2.27202.tar.gz \
78 LWP-MediaTypes-6.02.tar.gz \
79 List-Compare-0.37.tar.gz \
80 Locale-Maketext-Simple-0.21.tar.gz \
81 Log-Log4perl-1.42.tar.gz \
82 MIME-Base64-3.14.tar.gz \
83 MIME-Types-2.02.tar.gz \
84 Math-Calc-Units-1.07.tar.gz \
85 Module-CoreList-2.97.tar.gz \
86 Module-Find-0.11.tar.gz \
87 Module-Load-0.24.tar.gz \
88 Mozilla-CA-20130114.tar.gz \
89 NEXT-0.65.tar.gz \
90 Net-Curl-0.31.tar.gz \
91 Net-HTTP-6.06.tar.gz \
92 Net-Server-2.007.tar.gz \
93 OLE-Storage_Lite-0.19.tar.gz \
94 PAR-Dist-0.49.tar.gz \
95 Package-Constants-0.02.tar.gz \
96 Package-Stash-XS-0.28.tar.gz \
97 PadWalker-1.96.tar.gz \
98 Params-Check-0.38.tar.gz \
99 Parse-CPAN-Meta-1.4405.tar.gz \
100 PathTools-3.40.tar.gz \
101 Perl-OSType-1.003.tar.gz \
102 Perl-Tidy-20130806.tar.gz \
103 Pod-Escapes-1.04.tar.gz \
104 Pod-Parser-1.61.tar.gz \
105 Pod-Simple-3.28.tar.gz \
106 Pod-Spell-1.05.tar.gz \
107 Readonly-1.03.tar.gz \
108 Safe-Isa-1.000003.tar.gz \
109 Scalar-List-Utils-1.31.tar.gz \
110 Set-Infinite-0.65.tar.gz \
111 Set-Object-1.31.tar.gz \
112 Spreadsheet-ParseExcel-0.59.tar.gz \
113 Storable-2.45.tar.gz \
114 Stream-Buffered-0.02.tar.gz \
115 String-CRC32-1.4.tar.gz \
116 String-Format-1.17.tar.gz \
117 Sub-Exporter-Progressive-0.001010.tar.gz \
118 Sub-Identify-0.04.tar.gz \
119 Sub-Install-0.926.tar.gz \
120 Sub-Name-0.05.tar.gz \
121 Sys-SigAction-0.20.tar.gz \
122 Sys-Syslog-0.33.tar.gz \
123 Task-Weaken-1.04.tar.gz \
124 Template-Toolkit-2.25.tar.gz \
125 Term-ReadLine-Gnu-1.20.tar.gz \
126 Term-ShellUI-0.92.tar.gz \
127 Term-Size-0.207.tar.gz \
128 TermReadKey-2.30.tar.gz \
129 Test-Cmd-1.05.tar.gz \
130 Test-Simple-0.98.tar.gz \
131 Text-Abbrev-1.02.tar.gz \
132 Text-Balanced-2.02.tar.gz \
133 Text-PDF-0.29.tar.gz \
134 Text-ParseWords-3.29.tar.gz \
135 Text-SimpleTable-2.03.tar.gz \
136 Text-Tabs+Wrap-2013.0523.tar.gz \
137 Thread-Semaphore-2.12.tar.gz \
138 Tie-RefHash-1.39.tar.gz \
139 Tie-ToObject-0.03.tar.gz \
140 Time-HiRes-1.9726.tar.gz \
141 Time-Local-1.2300.tar.gz \
142 Try-Tiny-0.18.tar.gz \
143 UNIVERSAL-isa-1.20120726.tar.gz \
144 URI-1.60.tar.gz \
145 Variable-Magic-0.52.tar.gz \
146 WWW-RobotRules-6.02.tar.gz \
147 XML-NamespaceSupport-1.11.tar.gz \
148 XML-SAX-Base-1.08.tar.gz \
149 XSLoader-0.16.tar.gz \
150 YAML-0.84.tar.gz \
151 YAML-Syck-1.27.tar.gz \
152 YAML-Tiny-1.53.tar.gz \
153 base-2.18.tar.gz \
154 boolean-0.30.tar.gz \
155 common-sense-3.72.tar.gz \
156 indirect-0.30.tar.gz \
157 libnet-1.23.tar.gz \
158 parent-0.226.tar.gz \
159 podlators-2.5.1.tar.gz \
160 threads-1.87.tar.gz \
161 threads-shared-1.43.tar.gz \
162 version-0.9903.tar.gz \
163 Archive-Tar-1.92.tar.gz \
164 Archive-Zip-1.30.tar.gz \
165 Bit-Vector-7.3.tar.gz \
166 CGI.pm-3.63.tar.gz \
167 Cairo-1.103.tar.gz \
168 Color-Scheme-1.05.tar.gz \
169 DBD-Oracle-1.64.tar.gz \
170 DBD-mysql-4.023.tar.gz \
171 Date-Calc-6.3.tar.gz \
172 Date-Calc-XS-6.3.tar.gz \
173 Devel-Caller-2.06.tar.gz \
174 Devel-Symdump-2.10.tar.gz \
175 Email-Date-Format-1.004.tar.gz \
176 Eval-Closure-0.11.tar.gz \
177 ExtUtils-Helpers-0.021.tar.gz \
178 File-Listing-6.04.tar.gz \
179 File-Remove-1.52.tar.gz \
180 File-chdir-0.1008.tar.gz \
181 Font-TTF-1.02.tar.gz \
182 Gearman-1.11.tar.gz \
183 HTML-Parser-3.71.tar.gz \
184 HTTP-Message-6.06.tar.gz \
185 HTTP-Negotiate-6.01.tar.gz \
186 HTTP-Request-AsCGI-1.2.tar.gz \
187 JSON-XS-2.34.tar.gz \
188 MIME-Lite-3.029.tar.gz \
189 Math-Complex-1.59.tar.gz \
190 Module-Metadata-1.000014.tar.gz \
191 Object-Signature-1.07.tar.gz \
192 PDF-Reuse-0.35.tar.gz \
193 Pod-Coverage-0.23.tar.gz \
194 Template-Timer-1.00.tar.gz \
195 Term-Clui-1.68.tar.gz \
196 Term-ProgressBar-2.14.tar.gz \
197 Test-Pod-Coverage-1.08.tar.gz \
198 Thread-Queue-3.02.tar.gz \
199 Tie-RefHash-Weak-0.09.tar.gz \
200 XML-SAX-0.99.tar.gz \
201 XML-Simple-2.20.tar.gz \
202 HTML-Lint-2.20.tar.gz \
203 HTTP-Cookies-6.01.tar.gz \
204 HTTP-Daemon-6.01.tar.gz \
205 Module-Load-Conditional-0.54.tar.gz \
206 Monitoring-Livestatus-0.74.tar.gz \
207 XML-LibXML-2.0102.tar.gz \
208 libwww-perl-6.05.tar.gz \
209 IPC-Cmd-0.84.tar.gz \
210 LWP-Protocol-Net-Curl-0.018.tar.gz \
211 LWP-Protocol-https-6.04.tar.gz \
212 XML-Parser-2.41.tar.gz \
213 XML-Twig-3.44.tar.gz \
214 Crypt-SSLeay-0.64.tar.gz \
215 ExtUtils-CBuilder-0.280205.tar.gz \
216 ExtUtils-ParseXS-3.21.tar.gz \
217 IO-1.25.tar.gz \
218 List-MoreUtils-0.33.tar.gz \
219 Module-Build-0.4007.tar.gz \
220 Module-Build-Tiny-0.026.tar.gz \
221 Module-Pluggable-4.8.tar.gz \
222 Module-Runtime-0.013.tar.gz \
223 Module-ScanDeps-1.10.tar.gz \
224 Params-Util-1.07.tar.gz \
225 Parse-RecDescent-1.967009.tar.gz \
226 Path-Class-0.32.tar.gz \
227 Socket-2.011.tar.gz \
228 Spreadsheet-WriteExcel-2.39.tar.gz \
229 Test-Pod-1.48.tar.gz \
230 Tie-IxHash-1.23.tar.gz \
231 Tree-Simple-1.18.tar.gz \
232 Tree-Simple-VisitorFactory-0.10.tar.gz \
233 aliased-0.31.tar.gz \
234 constant-1.27.tar.gz \
235 Algorithm-C3-0.08.tar.gz \
236 CGI-Simple-1.113.tar.gz \
237 Class-Accessor-Chained-0.01.tar.gz \
238 Class-C3-0.25.tar.gz \
239 Color-Library-0.021.tar.gz \
240 Config-Any-0.23.tar.gz \
241 Data-OptList-0.108.tar.gz \
242 Data-Page-2.02.tar.gz \
243 Data-Types-0.09.tar.gz \
244 Date-Manip-6.40.tar.gz \
245 Devel-GlobalDestruction-0.11.tar.gz \
246 Dist-CheckConflicts-0.09.tar.gz \
247 Error-0.17020.tar.gz \
248 Excel-Template-0.34.tar.gz \
249 File-BOM-0.14.tar.gz \
250 File-SearchPath-0.06.tar.gz \
251 HTTP-Body-1.17.tar.gz \
252 MRO-Compat-0.12.tar.gz \
253 Module-Implementation-0.07.tar.gz \
254 Module-Install-1.06.tar.gz \
255 PPI-1.215.tar.gz \
256 PPIx-Regexp-0.034.tar.gz \
257 PPIx-Utilities-1.001000.tar.gz \
258 Package-DeprecationManager-0.13.tar.gz \
259 Package-Stash-0.35.tar.gz \
260 Params-Validate-1.08.tar.gz \
261 Perl-Critic-1.118.tar.gz \
262 Perl-Critic-Deprecated-1.108.tar.gz \
263 Perl-Critic-Dynamic-0.05.tar.gz \
264 Perl-Critic-Nits-v1.0.0.tar.gz \
265 Perl-Critic-Policy-Dynamic-NoIndirect-0.06.tar.gz \
266 Plack-1.0028.tar.gz \
267 Plack-Middleware-ReverseProxy-0.15.tar.gz \
268 Plack-Test-ExternalServer-0.01.tar.gz \
269 Starman-0.4006.tar.gz \
270 Sub-Exporter-0.986.tar.gz \
271 Test-Perl-Critic-1.02.tar.gz \
272 B-Hooks-EndOfScope-0.12.tar.gz \
273 Catalyst-Plugin-CustomErrorMessage-0.06.tar.gz \
274 Check-ISA-0.04.tar.gz \
275 Class-C3-Adopt-NEXT-0.13.tar.gz \
276 Class-Load-0.20.tar.gz \
277 Class-Load-XS-0.06.tar.gz \
278 DateTime-Locale-0.45.tar.gz \
279 DateTime-TimeZone-1.60.tar.gz \
280 Getopt-Long-Descriptive-0.093.tar.gz \
281 Log-Dispatch-2.41.tar.gz \
282 Moose-2.1005.tar.gz \
283 MooseX-Aliases-0.11.tar.gz \
284 MooseX-AttributeHelpers-0.23.tar.gz \
285 MooseX-Param-0.02.tar.gz \
286 MooseX-Params-Validate-0.18.tar.gz \
287 MooseX-Role-Parameterized-1.00.tar.gz \
288 MooseX-SemiAffordanceAccessor-0.09.tar.gz \
289 Nagios-Plugin-0.36.tar.gz \
290 Monitoring-Plugin-0.37.tar.gz \
291 String-RewritePrefix-0.006.tar.gz \
292 Text-Flow-0.01.tar.gz \
293 namespace-clean-0.24.tar.gz \
294 Data-Visitor-0.30.tar.gz \
295 DateTime-1.03.tar.gz \
296 DateTime-Set-0.31.tar.gz \
297 Excel-Template-Plus-0.05.tar.gz \
298 MongoDB-0.45.tar.gz \
299 Monitoring-Livestatus-Class-0.04.tar.gz \
300 MooseX-Clone-0.05.tar.gz \
301 MooseX-Emulate-Class-Accessor-Fast-0.00903.tar.gz \
302 MooseX-Getopt-0.56.tar.gz \
303 MooseX-Storage-0.39.tar.gz \
304 MooseX-Types-0.36.tar.gz \
305 MooseX-Types-Path-Class-0.06.tar.gz \
306 namespace-autoclean-0.13.tar.gz \
307 File-ChangeNotify-0.23.tar.gz \
308 Forest-0.09.tar.gz \
309 Geometry-Primitive-0.22.tar.gz \
310 Graphics-Color-0.29.tar.gz \
311 Graphics-Primitive-0.61.tar.gz \
312 Graphics-Primitive-Driver-Cairo-0.44.tar.gz \
313 Layout-Manager-0.34.tar.gz \
314 MooseX-Daemonize-0.18.tar.gz \
315 MooseX-MethodAttributes-0.28.tar.gz \
316 MooseX-Role-WithOverloading-0.13.tar.gz \
317 Catalyst-Runtime-5.90042.tar.gz \
318 Catalyst-View-Excel-Template-Plus-0.03.tar.gz \
319 Catalyst-View-GD-0.01.tar.gz \
320 Catalyst-View-JSON-0.33.tar.gz \
321 Catalyst-View-TT-0.41.tar.gz \
322 Chart-Clicker-2.86.tar.gz \
323 Catalyst-Action-RenderView-0.16.tar.gz \
324 Catalyst-Plugin-Cache-0.12.tar.gz \
325 Catalyst-Plugin-Compress-0.005.tar.gz \
326 Catalyst-Plugin-ConfigLoader-0.32.tar.gz \
327 Catalyst-Plugin-Redirect-0.02.tar.gz \
328 Catalyst-Plugin-Session-0.37.tar.gz \
329 Catalyst-Plugin-StackTrace-0.12.tar.gz \
330 Catalyst-Plugin-Static-Simple-0.30.tar.gz \
331 Catalyst-View-PDF-Reuse-0.04.tar.gz \
332 Catalyst-Devel-1.39.tar.gz \
333 Catalyst-Plugin-Authentication-0.10023.tar.gz \
334 Catalyst-Plugin-Authorization-Roles-0.09.tar.gz
339 build:
340 mkdir -p $(P5TMPDIST)/dest ; mkdir -p $(P5TMPDIST)/src
341 rsync -av src/. $(P5TMPDIST)/src/.
342 rsync -av build_module.pl lib/BuildHelper.pm lib/Module $(P5TMPDIST)/src/.
343 echo "install --install_base $(P5TMPDIST)/dest" > $(P5TMPDIST)/dest/.modulebuildrc
344 unset LANG; \
345 unset PERL5LIB; \
346 unset PERL_MB_OPT; \
347 unset PERL_LOCAL_LIB_ROOT; \
348 unset PERL_MM_OPT; \
349 cd $(P5TMPDIST)/src && \
350 PATH=$(P5TMPDIST)/dest/bin:$$PATH \
351 PERL_MM_OPT=INSTALL_BASE=$(P5TMPDIST)/dest \
352 PERL_MB_OPT=--install_base=$(P5TMPDIST)/dest \
353 MODULEBUILDRC=$(P5TMPDIST)/dest/.modulebuildrc \
354 PERL5LIB=$(P5TMPDIST)/dest/lib/perl5 \
355 ./build_module.pl -d "$(DISTRO)" -p $(P5TMPDIST)/dest $(MODULES)
356 cd $(P5TMPDIST)/dest/lib/perl5/ && rm -f utils.pm && ln -s ../../../nagios/plugins/utils.pm .
357 mkdir -p $(P5TMPDIST)/dest/lib/perl5/CPAN
358 cp MyConfig.pm $(P5TMPDIST)/dest/lib/perl5/CPAN/MyConfig.skel
360 install:
361 if [ -z $(DESTDIR) ]; then echo "cannot install without DESTDIR set!"; exit 1; fi
362 mkdir -p $(DESTDIR)$(OMD_ROOT)/lib/perl5 $(DESTDIR)$(OMD_ROOT)/bin
363 rsync -a $(P5TMPDIST)/dest/lib $(DESTDIR)$(OMD_ROOT)/lib/perl5/
364 rsync -a $(P5TMPDIST)/dest/bin $(DESTDIR)$(OMD_ROOT)/lib/perl5/
365 mkdir -p $(DESTDIR)$(OMD_ROOT)/local/lib/perl5
366 install -m 755 bin/cpan.wrapper $(DESTDIR)$(OMD_ROOT)/bin/cpan.wrapper
368 skel:
369 echo "install --install_base ###ROOT###/local/lib/perl5" > $(SKEL)/.modulebuildrc
371 clean:
372 rm -rf src/inc $(P5TMPDIST)