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