forked from abh/ntppool
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.PL
More file actions
38 lines (29 loc) · 776 Bytes
/
Makefile.PL
File metadata and controls
38 lines (29 loc) · 776 Bytes
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
#!/usr/bin/env perl
use 5.008001;
use strict;
use warnings;
# Son, when you participate in sporting events,
# it's not whether you win or lose, it's how drunk you get.
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'NTPPool',
VERSION_FROM => 'lib/NTPPool.pm',
AUTHOR => 'Ask Bjørn Hansen <ask@develooper.com>',
EXE_FILES => ['bin/*'],
PREREQ_PM => {
'Net::DNS' => 0.63,
'Data::Transformer' => 0,
'Net::NTP' => 0,
'namespace::clean' => 0,
},
test => {TESTS => 't/*.t t/*/*.t t/*/*/*.t'}
);
sub MY::postamble {
return <<'MAKE_FRAG';
.PHONY: testcover
testcover:
cover -delete
HARNESS_PERL_SWITCHES=-MDevel::Cover \$(MAKE) test
cover
MAKE_FRAG
}