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