Added JSAN support
[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',
4f6748f1 10 'UNIVERSAL::require' => 0,
4f6748f1 11 'Class::Accessor::Fast' => 0,
12 'Class::Data::Inheritable' => 0,
fbcc39ad 13 'CGI::Cookie' => 0,
4f6748f1 14 'HTML::Entities' => 0,
915d98de 15 'HTTP::Body' => 0.03,
badafcde 16 'HTTP::Headers' => 1.59,
4f6748f1 17 'HTTP::Request' => 0,
18 'HTTP::Response' => 0,
c664a7e5 19 'JSAN' => 0,
4f6748f1 20 'LWP::UserAgent' => 0,
a9b78939 21 'MIME::Types' => 0,
a268a011 22 'Module::Pluggable::Fast' => 0.16,
fbcc39ad 23 'NEXT' => 0,
df020cf4 24 'Path::Class' => 0.09,
fbcc39ad 25 'Scalar::Util' => 0,
4f6748f1 26 'Template' => 0,
9dad4705 27 'Text::ASCIITable' => 0.17,
fbcc39ad 28 'Test::MockObject' => 0,
4f6748f1 29 'Tree::Simple' => 0,
30 'Tree::Simple::Visitor::FindByPath' => 0,
fbcc39ad 31 'URI' => 1.35,
4f6748f1 32 },
fbcc39ad 33 recommends => { 'Catalyst::Engine::Apache' => 0, },
34 create_makefile_pl => 'passthrough',
35 create_readme => 1,
36 script_files => [ glob('script/*') ],
37 test_files => [
38 glob('t/*.t'), glob('t/*/*.t'),
39 glob('t/*/*/*.t'), glob('t/*/*/*/*.t'),
40 glob('t/*/*/*/*/*.t')
41 ]
4f6748f1 42);
43$build->create_build_script;
44
45print( '*' x 80, "\n" );
46print(
fbcc39ad 47 (qw/andyg chansen draven fordmason mst naughton sri jester/)
48 [ int( rand(8) ) ],
4f6748f1 49 " is the greatest and gabb is ",
50 ( (localtime)[2] > 12 ? "drunk" : "hung over" ),
51 " again!\n"
52);
53print( '*' x 80, "\n" );
54
4f6748f1 55eval "use FCGI";
56print qq/Install "FCGI" for FastCGI support.\n/ if $@;
fbcc39ad 57
58print qq/
59*** IMPORTANT NOTE: ***
60The Apache engines have been moved to a separate package in Catalyst 5.5.
61Please install Catalyst::Engine::Apache if you need Apache support.
62/;