released 5.33
[catagits/Catalyst-Runtime.git] / Build.PL
CommitLineData
4f6748f1 1use strict;
2use Module::Build;
3
4my $build = Module::Build->new(
5 create_makefile_pl => 'passthrough',
6 license => 'perl',
7 module_name => 'Catalyst',
8 requires => {
316bf0f0 9 'perl' => '5.8.1',
4f6748f1 10 'UNIVERSAL::require' => 0,
846772b7 11 'CGI' => '3.06',
4f6748f1 12 'Class::Accessor::Fast' => 0,
13 'Class::Data::Inheritable' => 0,
316bf0f0 14 'File::Temp' => 0.14,
4f6748f1 15 'HTTP::Daemon' => 0,
16 'HTML::Entities' => 0,
badafcde 17 'HTTP::Headers' => 1.59,
4f6748f1 18 'HTTP::Request' => 0,
19 'HTTP::Response' => 0,
20 'LWP::UserAgent' => 0,
a268a011 21 'Module::Pluggable::Fast' => 0.16,
df020cf4 22 'Path::Class' => 0.09,
4f6748f1 23 'Template' => 0,
24 'Text::ASCIITable' => 0,
25 'Tree::Simple' => 0,
26 'Tree::Simple::Visitor::FindByPath' => 0,
27 'URI' => 0,
28 },
adfe7ead 29 create_makefile_pl => 'passthrough',
6f6e1bb4 30 create_readme => 1,
4f6748f1 31 script_files => [ glob('script/*') ],
32 test_files => [
33 glob('t/*.t'), glob('t/*/*.t'), glob('t/*/*/*.t'), glob('t/*/*/*/*.t')
34 ]
35);
36$build->create_build_script;
37
38print( '*' x 80, "\n" );
39print(
40 (qw/chansen draven fordmason naughton sri the_jester/)[ int( rand(6) ) ],
41 " is the greatest and gabb is ",
42 ( (localtime)[2] > 12 ? "drunk" : "hung over" ),
43 " again!\n"
44);
45print( '*' x 80, "\n" );
46
4f6748f1 47eval "use FCGI";
48print qq/Install "FCGI" for FastCGI support.\n/ if $@;