-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.PL
100 lines (91 loc) · 2.3 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
90
91
92
93
94
95
96
97
98
99
100
use strict;
use warnings;
use 5.010;
use ExtUtils::MakeMaker 6.17;
my %WriteMakefileArgs = (
"ABSTRACT" => "Turnkey CPAN Testers smoking",
"AUTHOR" => "David Golden <dagolden\@cpan.org>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.17"
},
"DISTNAME" => "CPAN-Reporter-Smoker",
"LICENSE" => "apache",
"MIN_PERL_VERSION" => "5.010",
"NAME" => "CPAN::Reporter::Smoker",
"PREREQ_PM" => {
"CPAN" => "1.93",
"CPAN::HandleConfig" => 0,
"CPAN::Reporter::History" => "1.1702",
"CPAN::Tarzip" => 0,
"Carp" => 0,
"Compress::Zlib" => "1.2",
"Exporter" => 0,
"ExtUtils::MakeMaker" => "6.46",
"Fcntl" => 0,
"File::Basename" => 0,
"File::Spec" => "3.27",
"File::Temp" => "0.20",
"List::Util" => "1.03",
"Module::Build" => "0.30",
"Probe::Perl" => "0.01",
"Term::Title" => "0.01",
"Test::Reporter" => "1.58",
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"CPAN::Checksums" => 0,
"Cwd" => "3.27",
"ExtUtils::MakeMaker" => "6.46",
"File::Find" => 0,
"File::Path" => 0,
"File::Spec" => "3.27",
"IO::CaptureOutput" => "1.06",
"IO::File" => 0,
"Test::More" => "0.62",
"lib" => 0,
"vars" => 0
},
"VERSION" => "0.31",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"CPAN" => "1.93",
"CPAN::Checksums" => 0,
"CPAN::HandleConfig" => 0,
"CPAN::Reporter::History" => "1.1702",
"CPAN::Tarzip" => 0,
"Carp" => 0,
"Compress::Zlib" => "1.2",
"Cwd" => "3.27",
"Exporter" => 0,
"ExtUtils::MakeMaker" => "6.46",
"Fcntl" => 0,
"File::Basename" => 0,
"File::Find" => 0,
"File::Path" => 0,
"File::Spec" => "3.27",
"File::Temp" => "0.20",
"IO::CaptureOutput" => "1.06",
"IO::File" => 0,
"List::Util" => "1.03",
"Module::Build" => "0.30",
"Probe::Perl" => "0.01",
"Term::Title" => "0.01",
"Test::More" => "0.62",
"Test::Reporter" => "1.58",
"lib" => 0,
"strict" => 0,
"vars" => 0,
"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) };
WriteMakefile(%WriteMakefileArgs);