Commit | Line | Data |
022d1311 |
1 | use inc::Module::Install; |
2 | |
24b3262a |
3 | name 'Catalyst'; |
4 | all_from 'lib/Catalyst.pm'; |
5 | |
6 | requires 'perl' => '5.8.1'; |
7 | requires 'UNIVERSAL::require' => "0.10"; |
8 | requires 'Class::Accessor::Fast'; |
9 | requires 'Class::Data::Inheritable'; |
10 | requires 'Class::Inspector'; |
11 | requires 'CGI::Cookie'; |
12 | requires 'File::Modified'; |
13 | requires 'HTML::Entities'; |
14 | requires 'HTTP::Body' => 0.5; |
15 | requires 'HTTP::Headers' => 1.59; |
16 | requires 'HTTP::Request'; |
17 | requires 'HTTP::Response'; |
ee3c41e3 |
18 | requires 'HTTP::Request::AsCGI' => '0.5'; |
24b3262a |
19 | requires 'LWP::UserAgent'; |
20 | requires 'MIME::Types'; |
21 | requires 'Module::Pluggable::Fast' => 0.16; |
22 | requires 'NEXT'; |
23 | requires 'Path::Class' => 0.09; |
24 | requires 'Scalar::Util'; |
25 | requires 'Template'; |
f2777592 |
26 | requires 'Text::SimpleTable' => 0.03; |
24b3262a |
27 | requires 'Test::MockObject'; |
adee716c |
28 | requires 'Test::NoWarnings' => 0.082; |
24b3262a |
29 | requires 'Time::HiRes'; |
f22b8975 |
30 | requires 'Tree::Simple' => 1.15; |
24b3262a |
31 | requires 'Tree::Simple::Visitor::FindByPath'; |
32 | requires 'URI' => 1.35; |
33 | requires 'File::Copy::Recursive'; |
303d0ae0 |
34 | requires 'Module::Install::Admin' => '0.45'; |
e5156d4f |
35 | requires 'Module::Install' => '0.54'; |
3c5cb509 |
36 | requires 'YAML' => '0.52'; |
24b3262a |
37 | |
38 | feature 'Apache/mod_perl Support', |
39 | -default => 0, |
ef0955fa |
40 | 'Catalyst::Engine::Apache' => '1.05'; |
24b3262a |
41 | |
42 | feature 'FastCGI Support', -default => 0, 'FCGI' => 0, 'FCGI::ProcManager' => 0; |
614f3ad6 |
43 | |
24b3262a |
44 | feature 'PAR Support', |
45 | -default => 0, |
46 | 'PAR' => 0; |
614f3ad6 |
47 | |
24b3262a |
48 | feature 'CPANPLUS (for easier installations)', |
49 | -default => 0, |
50 | 'CPANPLUS' => 0; |
614f3ad6 |
51 | |
24b3262a |
52 | install_script glob('script/*.pl'); |
53 | auto_install; |
54 | WriteAll; |
614f3ad6 |
55 | |
56 | print( '*' x 80, "\n" ); |
57 | my $banner = |
58 | (qw/andyg chansen draven fordmason mst naughton sri jester/)[ int( rand(8) ) ] |
59 | . " is the greatest and gabb is " |
60 | . ( (localtime)[2] > 12 ? "drunk" : "hung over" ) |
61 | . " again!"; |
62 | print " $banner \n"; |
63 | print( '*' x 80, "\n" ); |
64 | |
614f3ad6 |
65 | eval "use FCGI"; |
66 | print qq/ Install "FCGI" for FastCGI support.\n/ if $@; |
67 | eval "use FCGI::ProcManager"; |
68 | print |
69 | qq/ Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/ |
70 | if ($@); |
71 | eval "use PAR ()"; |
72 | print qq/ Install "PAR" for PAR packaging support.\n/ if $@; |
73 | |
74 | print <<"EOF"; |
75 | |
76 | Important: |
d538823f |
77 | Install Task::Catalyst to get everything you need to start writing |
8878af8a |
78 | serious applications with Catalyst. |
a5b5152b |
79 | |
e7d20a58 |
80 | perl -MCPANPLUS -e 'install Task::Catalyst' |
d538823f |
81 | perl -MCPAN -e 'install Task::Catalyst' |
a5b5152b |
82 | |
a5b5152b |
83 | Have fun! |
614f3ad6 |
84 | EOF |