-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.PL
31 lines (30 loc) · 1.09 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
use 5.006001;
use ExtUtils::MakeMaker;
my $have_test_requires = ExtUtils::MakeMaker->VERSION ge '6.64';
my %test_req = (
'Test::More' => '0.98',
);
WriteMakefile(
NAME => "Data::Dumper",
VERSION_FROM => 'Dumper.pm',
'dist' => {
COMPRESS => 'gzip -9f',
SUFFIX => 'gz',
DIST_DEFAULT => 'all tardist',
},
MAN3PODS => {},
DEFINE => '-DUSE_PPPORT_H',
INSTALLDIRS => 'perl',
PREREQ_PM => {
$have_test_requires ? () : %test_req,
},
$have_test_requires ? (TEST_REQUIRES => \%test_req) : (),
META_MERGE => {
dynamic_config => 0,
resources => {
repository => 'git://perl5.git.perl.org/perl.git perl-git',
bugtracker => 'http://rt.perl.org/perlbug/',
MailingList => 'http://lists.cpan.org/showlist.cgi?name=perl5-porters'
},
}
);