Fixed typo
[catagits/Catalyst-Runtime.git] / Build.PL
CommitLineData
4f6748f1 1use strict;
2use Module::Build;
3
4my $build = Module::Build->new(
fbcc39ad 5 create_makefile_pl => 'passthrough',
4f6748f1 6 license => 'perl',
7 module_name => 'Catalyst',
8 requires => {
316bf0f0 9 'perl' => '5.8.1',
a6933404 10 'UNIVERSAL::require' => "0.10",
4f6748f1 11 'Class::Accessor::Fast' => 0,
12 'Class::Data::Inheritable' => 0,
91d4abc5 13 'Class::Inspector' => 0,
fbcc39ad 14 'CGI::Cookie' => 0,
65586a18 15 'File::Modified' => 0,
4f6748f1 16 'HTML::Entities' => 0,
915d98de 17 'HTTP::Body' => 0.03,
badafcde 18 'HTTP::Headers' => 1.59,
4f6748f1 19 'HTTP::Request' => 0,
20 'HTTP::Response' => 0,
21 'LWP::UserAgent' => 0,
a9b78939 22 'MIME::Types' => 0,
a268a011 23 'Module::Pluggable::Fast' => 0.16,
fbcc39ad 24 'NEXT' => 0,
df020cf4 25 'Path::Class' => 0.09,
fbcc39ad 26 'Scalar::Util' => 0,
4f6748f1 27 'Template' => 0,
8c113188 28 'Text::SimpleTable' => 0,
fbcc39ad 29 'Test::MockObject' => 0,
65586a18 30 'Time::HiRes' => 0,
4f6748f1 31 'Tree::Simple' => 0,
32 'Tree::Simple::Visitor::FindByPath' => 0,
fbcc39ad 33 'URI' => 1.35,
4f6748f1 34 },
5898abae 35 recommends =>
36 { 'Catalyst::Engine::Apache' => 0, FCGI => 0, 'FCGI::ProcManager' => 0 },
fbcc39ad 37 create_makefile_pl => 'passthrough',
38 create_readme => 1,
39 script_files => [ glob('script/*') ],
40 test_files => [
41 glob('t/*.t'), glob('t/*/*.t'),
42 glob('t/*/*/*.t'), glob('t/*/*/*/*.t'),
43 glob('t/*/*/*/*/*.t')
44 ]
4f6748f1 45);
46$build->create_build_script;
47
48print( '*' x 80, "\n" );
497732c2 49
50my $banner =
51 (qw/andyg chansen draven fordmason mst naughton sri jester/)[ int( rand(8) ) ]
52 . " is the greatest and gabb is "
53 . ( (localtime)[2] > 12 ? "drunk" : "hung over" )
54 . " again! :)";
55$banner = sprintf '%-76s', $banner;
56print "* $banner *\n";
57
58print( '*' x 80, "\n\n" );
59
60print <<'EOF';
61
62 ____ _ _ _
63 / ___|__ _| |_ __ _| |_ _ ___| |_
64 | | / _` | __/ _` | | | | / __| __|
65 | |__| (_| | || (_| | | |_| \__ \ |_
66 \____\__ _|\__\__ _|_|\__ |___/\__|
be23fe9f 67 |___/ carpe diem!
497732c2 68
69EOF
4f6748f1 70
4f6748f1 71eval "use FCGI";
5898abae 72if ($@) {
73 print qq/Install "FCGI" for FastCGI support.\n/;
74}
75else {
76 eval "use FCGI::ProcManager";
77 print
78qq/Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/
79 if ($@);
80}
fbcc39ad 81
497732c2 82print <<"EOF";
83
84Important:
85 The Apache engines have been moved to a separate package in Catalyst 5.5.
86 Please install Catalyst::Engine::Apache if you need Apache support.
87EOF