1 use inc::Module::Install 0.64;
5 name 'Catalyst-Runtime';
6 all_from 'lib/Catalyst/Runtime.pm';
8 requires 'perl' => '5.8.1';
10 requires 'Class::Accessor::Fast';
11 requires 'Class::Data::Inheritable';
12 requires 'Class::Inspector' => '1.06';
13 requires 'CGI::Simple::Cookie';
14 requires 'Data::Dump';
15 requires 'File::Modified';
16 requires 'HTML::Entities';
17 requires 'HTTP::Body' => '0.9';
18 requires 'HTTP::Headers' => '1.64';
19 requires 'HTTP::Request';
20 requires 'HTTP::Response';
21 requires 'HTTP::Request::AsCGI' => '0.5';
22 requires 'LWP::UserAgent';
23 requires 'Module::Pluggable' => '3.01';
25 requires 'Path::Class' => '0.09';
26 requires 'Scalar::Util';
27 requires 'Text::SimpleTable' => '0.03';
28 requires 'Time::HiRes';
29 requires 'Tree::Simple' => '1.15';
30 requires 'Tree::Simple::Visitor::FindByPath';
31 requires 'URI' => '1.35';
32 requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness
35 if (-e 'inc/.author') {
36 build_requires 'Test::Perl::Critic';
38 if ($^O eq 'darwin') {
39 makemaker_args(dist => { PREOP => 'if [ "$$COPY_EXTENDED_ATTRIBUTES_DISABLE" != "true" ]; then'.
40 ' echo "you must set the ENV variable COPY_EXTENDED_ATTRIBUTES_DISABLE to true,"; '.
41 ' echo "to avoid getting resource forks in your dist."; exit 255; fi' });
45 install_script glob('script/*.pl');
53 This library is for running Catalyst applications.
55 For development and use of catalyst.pl and myapp_create.pl, make sure
56 you also install the development tools package Catalyst::Devel.
58 perl -MCPANPLUS -e 'install Catalyst::Devel' # or
59 perl -MCPAN -e 'install Catalyst::Devel'
61 To get some commonly used plugins, as well as the TT view and DBIC
62 model, install Task::Catalyst in the same way.