forked from abh/ntppool
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.PL
executable file
·68 lines (50 loc) · 1.64 KB
/
Makefile.PL
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/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 <[email protected]>',
EXE_FILES => ['bin/*'],
PREREQ_PM => {
'Net::DNS' => 0.63,
'Data::Transformer' => 0,
'Net::NTP' => 0,
'namespace::clean' => 0.20,
'Moose' => 2,
'Rose::DB::Object' => 0,
'Locale::Maketext::Lexicon' => 0.84,
'Gearman::Client' => 0,
'Text::CSV_XS' => 0,
'Time::Duration' => 0,
'DateTime::Format::Duration' => 0,
'Email::Send' => 0,
'Email::Date' => 0,
'Imager' => 0,
'Geo::IP' => 1.39,
'Router::Simple' => 0,
'Plack' => 0,
'Plack::Middleware::Options' => 0,
'Plack::Middleware::ReverseProxy' => 0,
'Config::General' => 0,
'Math::Random::Secure' => 0,
'Math::BaseCalc' => 0,
'I18N::LangTags' => 0,
# should just be Net::IP ..
'Net::IPv6Addr' => 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
}