Commit | Line | Data |
c55f01aa |
1 | use inc::Module::Install 0.64; |
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'; |
5c2c224d |
17 | requires 'HTTP::Body' => '0.9'; |
1e514a51 |
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 | |
a9835938 |
34 | if ($^O eq 'darwin') { |
35 | makemaker_args(dist => { PREOP => 'if [ "$$COPY_EXTENDED_ATTRIBUTES_DISABLE" != "true" ]; then'. |
36 | ' echo "you must set the ENV variable COPY_EXTENDED_ATTRIBUTES_DISABLE to true,"; '. |
37 | ' echo "to avoid getting resource forks in your dist."; exit 255; fi' }); |
38 | } |
39 | |
de925c79 |
40 | if (-e 'inc/.author') { |
41 | build_requires 'Test::Perl::Critic'; |
42 | } |
43 | |
24b3262a |
44 | install_script glob('script/*.pl'); |
b6395bce |
45 | auto_install; |
24b3262a |
46 | WriteAll; |
614f3ad6 |
47 | |
3c0a4b54 |
48 | print( '*' x 74, "\n" ); |
614f3ad6 |
49 | my $banner = |
8c4733de |
50 | (qw/andyg chansen draven fordmason mst naughton sri jester |
28346385 |
51 | jrockway ningu nothingmuch LTjake/)[ int( rand(12) ) ] |
614f3ad6 |
52 | . " is the greatest and gabb is " |
53 | . ( (localtime)[2] > 12 ? "drunk" : "hung over" ) |
54 | . " again!"; |
55 | print " $banner \n"; |
3c0a4b54 |
56 | print( '*' x 74, "\n" ); |
614f3ad6 |
57 | |
614f3ad6 |
58 | print <<"EOF"; |
59 | |
60 | Important: |
a5b5152b |
61 | |
0187a79d |
62 | This library is for running Catalyst applications. |
63 | |
341d40d1 |
64 | For development and use of catalyst.pl and myapp_create.pl, make sure |
65 | you also install the development tools package Catalyst::Devel. |
f63c03e4 |
66 | |
6bc14aef |
67 | perl -MCPANPLUS -e 'install Catalyst::Devel' # or |
68 | perl -MCPAN -e 'install Catalyst::Devel' |
69 | |
70 | To get some commonly used plugins, as well as the TT view and DBIC |
71 | model, install Task::Catalyst in the same way. |
a5b5152b |
72 | |
a5b5152b |
73 | Have fun! |
614f3ad6 |
74 | EOF |