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