-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathBuild.PL
119 lines (108 loc) · 3.92 KB
/
Build.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#!/usr/bin/perl -w
use strict;
# Include 'lib' so it sees our perl5i::VERSION when version checking
use lib 'inc', 'lib';
use MyBuild;
use 5.010;
my $builder = MyBuild->new(
module_name => 'perl5i',
license => 'perl',
dist_author => 'Michael G Schwern <[email protected]>',
dist_version => "v2.13.2",
requires => {
'perl' => '5.10.0',
'Modern::Perl' => '1.03',
'CLASS' => '1.00',
# Windows fixes
'Child' => '0.013',
'DateTime' => '0.47',
'DateTime::Format::Epoch' => '0.11',
'DateTime::TimeZone::Tzfile' => '0.002',
# for perl5i::1
'Module::Load' => '0.16',
'Text::Wrap' => '2009.0305',
'Try::Tiny' => '0.02',
# plays nice with open pragma, Debian stable version
'autodie' => '2.12',
# Needed for autodie :system
'IPC::System::Simple' => '1.18',
'autobox' => '2.80',
'autobox::Core' => '1.0',
parent => '0.221',
'File::chdir' => '0.1002',
# for perl5i::1
'autobox::dump' => '20090426',
'autobox::List::Util' => '20090629',
'Want' => '0.18',
'autovivification' => '0.06',
'version' => '0.77',
'Perl6::Caller' => '0.100',
"Taint::Util" => '0.06',
'Hash::Merge::Simple' => '0.04',
'List::MoreUtils' => '0.22',
indirect => '0.24',
'JSON::MaybeXS' => '1.003005',
'YAML::Any' => '0.70',
'Digest::SHA' => '5.45',
'Digest::MD5' => '2.36',
'Object::ID' => '0.1.0',
"Devel::Declare::MethodInstaller::Simple" => '0.006009',
'true::VERSION' => '0.16',
# Various Windows fixes
'Capture::Tiny' => '0.32',
# Fixes utf8 + threads (and fork emulation on Windows)
'utf8::all' => '0.015',
'Carp::Fix::1_25' => '1.000000',
'Hash::StoredIterator' => '0.007',
'Hash::FieldHash' => '0.06',
'Path::Tiny' => '0.036',
'Import::Into' => '1.002003',
'Sub::Name' => '0',
},
build_requires => {
'ExtUtils::CBuilder' => '0.26',
'Test::More' => '0.88',
'Test::Warn' => '0.11',
'IPC::Open3' => '0',
'Test::Output' => '0.16',
'Test::Most' => '0',
},
configure_requires => {
# MB's auto configure requires only puts it in the META.yml
# so some CPAN shells won't see it.
"Module::Build" => '0.36',
},
recommends => {
# Significant performance improvements
autodie => '2.26',
},
meta_merge => {
resources => {
repository => 'http://github.com/evalEmpire/perl5i/tree/master',
bugtracker => 'http://github.com/evalEmpire/perl5i/issues',
IRC => "irc://irc.perl.org/#perl5i",
},
no_index => {
file => [qw(
lib/perl5i/0/DateTime.pm
lib/perl5i/0/ARRAY.pm
lib/perl5i/0/DEFAULT.pm
lib/perl5i/0/HASH.pm
lib/perl5i/0/Meta.pm
lib/perl5i/0/Meta/Class.pm
lib/perl5i/0/Meta/Instance.pm
lib/perl5i/0/SCALAR.pm
lib/perl5i/VERSION.pm
)],
},
},
PL_files => {
'bin/perl5i.h.PL' => 'bin/perl5i.h',
'bin/perl5i.bat.PL' => 'bin/perl5i.bat',
},
recursive_test_files => 1,
create_readme => 1,
create_license => 1,
);
$builder->requires->{"Time::y2038"} = "20100218" if $builder->needs_y2038;
$builder->create_build_script();