forked from abh/pgeodns
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.PL
39 lines (34 loc) · 907 Bytes
/
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
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile
(
NAME => 'pgeodns',
AUTHOR => 'Ask Bjoern Hansen <ask@develooper.com>',
VERSION_FROM => 'lib/GeoDNS.pm',
ABSTRACT => "Perl Geographic DNS Server",
PL_FILES => { },
EXE_FILES => [ 'pgeodns.pl' ],
# PM => {
# 'GeoDNS.pm' => '$(INST_LIBDIR)/App/HWD.pm',
# },
PREREQ_PM =>
{
'Net::DNS' => 0.64,
'Geo::IP' => 1.28,
'List::Util' => 0,
'JSON' => 2.12,
},
MAN3PODS => { }, # no need for docs on these
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'cover_db pm_to_blib' },
);
sub MY::postamble {
return <<'MAKE_FRAG';
.PHONY: testcover
cover:
cover -delete
HARNESS_PERL_SWITCHES=-MDevel::Cover make test
cover
MAKE_FRAG
}