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