Commit | Line | Data |
9d8e174a |
1 | use inc::Module::Install 0.63; |
022d1311 |
2 | |
0ba80bce |
3 | perl_version '5.8.1'; |
4 | |
341d40d1 |
5 | name 'Catalyst-Runtime'; |
6 | all_from 'lib/Catalyst/Runtime.pm'; |
24b3262a |
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'; |
d8e0de58 |
23 | requires 'Module::Pluggable' => '3.01'; |
24b3262a |
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'; |
ea0e58d9 |
32 | requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness |
24b3262a |
33 | |
34 | feature 'Apache/mod_perl Support', |
35 | -default => 0, |
ef0955fa |
36 | 'Catalyst::Engine::Apache' => '1.05'; |
24b3262a |
37 | |
38 | feature 'FastCGI Support', -default => 0, 'FCGI' => 0, 'FCGI::ProcManager' => 0; |
614f3ad6 |
39 | |
24b3262a |
40 | install_script glob('script/*.pl'); |
24b3262a |
41 | WriteAll; |
614f3ad6 |
42 | |
43 | print( '*' x 80, "\n" ); |
44 | my $banner = |
8c4733de |
45 | (qw/andyg chansen draven fordmason mst naughton sri jester |
364d7324 |
46 | nothingmuch LTjake/)[ int( rand(10) ) ] |
614f3ad6 |
47 | . " is the greatest and gabb is " |
48 | . ( (localtime)[2] > 12 ? "drunk" : "hung over" ) |
49 | . " again!"; |
50 | print " $banner \n"; |
51 | print( '*' x 80, "\n" ); |
52 | |
614f3ad6 |
53 | eval "use FCGI"; |
54 | print qq/ Install "FCGI" for FastCGI support.\n/ if $@; |
55 | eval "use FCGI::ProcManager"; |
56 | print |
57 | qq/ Install "FCGI::ProcManager" for multiprocess FastCGI external support.\n/ |
58 | if ($@); |
59 | eval "use PAR ()"; |
60 | print qq/ Install "PAR" for PAR packaging support.\n/ if $@; |
61 | |
62 | print <<"EOF"; |
63 | |
64 | Important: |
a5b5152b |
65 | |
0187a79d |
66 | This library is for running Catalyst applications. |
67 | |
341d40d1 |
68 | For development and use of catalyst.pl and myapp_create.pl, make sure |
69 | you also install the development tools package Catalyst::Devel. |
f63c03e4 |
70 | |
6bc14aef |
71 | perl -MCPANPLUS -e 'install Catalyst::Devel' # or |
72 | perl -MCPAN -e 'install Catalyst::Devel' |
73 | |
74 | To get some commonly used plugins, as well as the TT view and DBIC |
75 | model, install Task::Catalyst in the same way. |
a5b5152b |
76 | |
a5b5152b |
77 | Have fun! |
614f3ad6 |
78 | EOF |