-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.PL
91 lines (85 loc) · 2.86 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
use strict;
use warnings;
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "module for processing makefiles",
"AUTHOR" => "Nick Ing-Simmons",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"VERSION_FROM" => "lib/Make.pm",
"NAME" => "Make",
"EXE_FILES" => [ glob 'scripts/*' ],
"LICENSE" => "perl",
"META_MERGE" => {
dynamic_config => 0,
'meta-spec' => { version => 2 },
no_index => { directory => ['t'] },
prereqs => {
develop => {
requires => {
"Test::Version" => "1.003001",
"Test::Pod" => "1.00",
"Test::Code::TidyAll" => "0.41",
"Test::Perl::Critic" => "1.02",
"Perl::Tidy" => "20200822", # new formatting
},
},
test => {
requires => {
'Test::More' => '0.82', # explain
},
recommends => {
'App::Prove' => '3.00', # prove -j4
},
},
},
resources => {
bugtracker => { web => 'https://github.com/klp2/Make/issues' },
homepage => 'https://metacpan.org/pod/Make',
repository => {
type => 'git',
url => 'https://github.com/klp2/Make.git',
web => 'https://github.com/klp2/Make',
},
x_IRC => 'irc://irc.perl.org/#perl'
},
},
"MIN_PERL_VERSION" => "5.006",
"PREREQ_PM" => {
"Carp" => 0,
"Config" => 0,
"Cwd" => 0,
"File::Spec" => 0,
"strict" => 0,
"warnings" => 0,
"Text::Balanced" => '2.03',
"Text::ParseWords" => '3.24',
"Graph" => '0.9712', # TC with multiedged
},
"TEST_REQUIRES" => {
"Test::More" => "1.00",
'Test::Snapshot' => '0.06',
},
);
my %FallbackPrereqs = (
"Carp" => 0,
"Config" => 0,
"Cwd" => 0,
"File::Spec" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"Test::More" => "1.00",
"Text::Balanced" => '2.03',
"Text::ParseWords" => '3.30',
"strict" => 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);