1 use inc::Module::Install 0.64;
6 name 'Catalyst-Runtime';
7 all_from 'lib/Catalyst/Runtime.pm';
9 requires 'MooseX::Emulate::Class::Accessor::Fast';
12 requires 'Class::Accessor::Fast';
13 requires 'Class::Data::Inheritable';
14 requires 'Class::Inspector' => '1.06';
15 requires 'CGI::Simple::Cookie';
16 requires 'Data::Dump';
17 requires 'File::Modified';
18 requires 'HTML::Entities';
19 requires 'HTTP::Body' => '0.9';
20 requires 'HTTP::Headers' => '1.64';
21 requires 'HTTP::Request';
22 requires 'HTTP::Response';
23 requires 'HTTP::Request::AsCGI' => '0.5';
24 requires 'LWP::UserAgent';
25 requires 'Module::Pluggable' => '3.01';
27 requires 'Path::Class' => '0.09';
28 requires 'Scalar::Util';
29 requires 'Text::SimpleTable' => '0.03';
30 requires 'Time::HiRes';
31 requires 'Tree::Simple' => '1.15';
32 requires 'Tree::Simple::Visitor::FindByPath';
33 requires 'URI' => '1.35';
34 requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness
35 requires 'MRO::Compat';
37 if (-e 'inc/.author') {
38 build_requires 'Test::Perl::Critic';
39 build_requires 'Test::Pod' => 1.14;
40 build_requires 'Test::Pod::Coverage' => 1.04;
42 if ($^O eq 'darwin') {
43 my $osx_ver = `/usr/bin/sw_vers -productVersion`;
46 # TAR on 10.4 wants COPY_EXTENDED_ATTRIBUTES_DISABLE
47 # On 10.5 (Leopard) it wants COPYFILE_DISABLE
48 my $attr = $osx_ver eq '10.5' ? 'COPYFILE_DISABLE' : 'COPY_EXTENDED_ATTRIBUTES_DISABLE';
50 makemaker_args(dist => { PREOP => qq{\@if [ "\$\$$attr" != "true" ]; then}.
51 qq{ echo "You must set the ENV variable $attr to true,"; }.
52 ' echo "to avoid getting resource forks in your dist."; exit 255; fi' });
56 install_script glob('script/*.pl');
64 This library is for running Catalyst applications.
66 For development and use of catalyst.pl and myapp_create.pl, make sure
67 you also install the development tools package Catalyst::Devel.
69 perl -MCPANPLUS -e 'install Catalyst::Devel' # or
70 perl -MCPAN -e 'install Catalyst::Devel'
72 To get some commonly used plugins, as well as the TT view and DBIC
73 model, install Task::Catalyst in the same way.