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'; |
24 | requires 'MIME::Types'; |
25 | requires 'Module::Pluggable::Fast' => 0.16; |
26 | requires 'NEXT'; |
27 | requires 'Path::Class' => 0.09; |
28 | requires 'Scalar::Util'; |
29 | requires 'Template'; |
f2777592 |
30 | requires 'Text::SimpleTable' => 0.03; |
24b3262a |
31 | requires 'Test::MockObject'; |
adee716c |
32 | requires 'Test::NoWarnings' => 0.082; |
24b3262a |
33 | requires 'Time::HiRes'; |
f22b8975 |
34 | requires 'Tree::Simple' => 1.15; |
24b3262a |
35 | requires 'Tree::Simple::Visitor::FindByPath'; |
36 | requires 'URI' => 1.35; |
37 | requires 'File::Copy::Recursive'; |
c81ae4e1 |
38 | requires 'Module::Install::Admin' => '0.62'; |
39 | requires 'Module::Install' => '0.62'; |
a6ad13b6 |
40 | requires 'YAML' => '0.55'; |
3736410f |
41 | requires 'Data::Visitor' => '0.02'; |
24b3262a |
42 | |
43 | feature 'Apache/mod_perl Support', |
44 | -default => 0, |
ef0955fa |
45 | 'Catalyst::Engine::Apache' => '1.05'; |
24b3262a |
46 | |
47 | feature 'FastCGI Support', -default => 0, 'FCGI' => 0, 'FCGI::ProcManager' => 0; |
614f3ad6 |
48 | |
24b3262a |
49 | feature 'PAR Support', |
50 | -default => 0, |
51 | 'PAR' => 0; |
614f3ad6 |
52 | |
24b3262a |
53 | feature 'CPANPLUS (for easier installations)', |
54 | -default => 0, |
55 | 'CPANPLUS' => 0; |
614f3ad6 |
56 | |
24b3262a |
57 | install_script glob('script/*.pl'); |
58 | auto_install; |
59 | WriteAll; |
614f3ad6 |
60 | |
61 | print( '*' x 80, "\n" ); |
62 | my $banner = |
63 | (qw/andyg chansen draven fordmason mst naughton sri jester/)[ int( rand(8) ) ] |
64 | . " is the greatest and gabb is " |
65 | . ( (localtime)[2] > 12 ? "drunk" : "hung over" ) |
66 | . " again!"; |
67 | print " $banner \n"; |
68 | print( '*' x 80, "\n" ); |
69 | |
614f3ad6 |
70 | eval "use FCGI"; |
71 | print qq/ Install "FCGI" for FastCGI support.\n/ if $@; |
72 | eval "use FCGI::ProcManager"; |
73 | print |
74 | qq/ Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/ |
75 | if ($@); |
76 | eval "use PAR ()"; |
77 | print qq/ Install "PAR" for PAR packaging support.\n/ if $@; |
78 | |
79 | print <<"EOF"; |
80 | |
81 | Important: |
d538823f |
82 | Install Task::Catalyst to get everything you need to start writing |
8878af8a |
83 | serious applications with Catalyst. |
a5b5152b |
84 | |
f63c03e4 |
85 | Note that Catalyst::Helper has been split into a separate distribution, |
86 | and is required for using catalyst.pl to make new distributions. It is |
87 | included with Task::Catalyst |
88 | |
e7d20a58 |
89 | perl -MCPANPLUS -e 'install Task::Catalyst' |
d538823f |
90 | perl -MCPAN -e 'install Task::Catalyst' |
a5b5152b |
91 | |
a5b5152b |
92 | Have fun! |
614f3ad6 |
93 | EOF |