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
|
use Module::Build;
my $build = Module::Build->new
(
module_name => 'Graphics::ColorNames',
license => 'perl',
requires => {
'perl' => '5.006',
'base' => 0,
# 'AutoLoader' => 0,
'Carp' => 0,
'DirHandle' => 0,
'Exporter' => 0,
'File::Spec' => 0,
'IO::File' => 0,
'Module::Load' => '0.10',
'Module::Loaded' => 0,
},
recommends => {
'Color::Library' => 0.02,
'Tie::Sub' => 0,
'Test::Pod::Coverage' => 0,
'Test::Pod' => 1.00,
'Test::Portability::Files' => 0,
'Pod::Readme' => 0.09,
},
build_requires => {
'FileHandle' => 0, # for testing
'Test::Exception' => 0,
'Test::More' => 0,
},
# autosplit => [
# 'lib/Graphics/ColorNames.pm',
# ],
create_readme => ($Module::Build::VERSION >= 0.2702),
create_makefile_pl => 'traditional',
dist_author => 'Robert Rothenberg <rrwo at cpan.org>',
sign => 0,
);
$build->create_build_script;
|