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