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