forked from Perl-Toolchain-Gang/CPAN-Meta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
89 lines (79 loc) · 2.15 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.036.
use strict;
use warnings;
use 5.008;
use ExtUtils::MakeMaker 6.17;
my %WriteMakefileArgs = (
"ABSTRACT" => "the distribution metadata for a CPAN dist",
"AUTHOR" => "David Golden <dagolden\@cpan.org>, Ricardo Signes <rjbs\@cpan.org>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.17"
},
"DISTNAME" => "CPAN-Meta",
"EXE_FILES" => [],
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.008",
"NAME" => "CPAN::Meta",
"PREREQ_PM" => {
"CPAN::Meta::Requirements" => "2.121",
"CPAN::Meta::YAML" => "0.008",
"Carp" => 0,
"JSON::PP" => "2.27200",
"Parse::CPAN::Meta" => "1.4414",
"Scalar::Util" => 0,
"strict" => 0,
"version" => "0.88",
"warnings" => 0
},
"TEST_REQUIRES" => {
"Data::Dumper" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Basename" => 0,
"File::Spec" => 0,
"File::Temp" => "0.20",
"IO::Dir" => 0,
"Test::More" => "0.88",
"overload" => 0,
"utf8" => 0
},
"VERSION" => "2.150004",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"CPAN::Meta::Requirements" => "2.121",
"CPAN::Meta::YAML" => "0.008",
"Carp" => 0,
"Data::Dumper" => 0,
"ExtUtils::MakeMaker" => "6.17",
"File::Basename" => 0,
"File::Spec" => 0,
"File::Temp" => "0.20",
"IO::Dir" => 0,
"JSON::PP" => "2.27200",
"Parse::CPAN::Meta" => "1.4414",
"Scalar::Util" => 0,
"Test::More" => "0.88",
"overload" => 0,
"strict" => 0,
"utf8" => 0,
"version" => "0.88",
"warnings" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
# Added by Dist::Zilla::Plugin::MakeMaker::Highlander
if ( $] < 5.012
&& ! $ENV{PERL_NO_HIGHLANDER}
&& ! ( $ENV{PERL_MM_OPT} && $ENV{PERL_MM_OPT} =~ /(?:INSTALL_BASE|PREFIX)/ )
&& ! grep { /INSTALL_BASE/ || /PREFIX/ } @ARGV
) {
$WriteMakefileArgs{UNINST} = 1;
}
WriteMakefile(%WriteMakefileArgs);