new release.
[catagits/Catalyst-Runtime.git] / Build.PL
CommitLineData
4f6748f1 1use strict;
2use Module::Build;
3
4my $build = Module::Build->new(
5 create_makefile_pl => 'passthrough',
6 license => 'perl',
7 module_name => 'Catalyst',
8 requires => {
316bf0f0 9 'perl' => '5.8.1',
4f6748f1 10 'UNIVERSAL::require' => 0,
838fc527 11 'CGI' => 0,
4f6748f1 12 'Class::Accessor::Fast' => 0,
13 'Class::Data::Inheritable' => 0,
316bf0f0 14 'File::Temp' => 0.14,
4f6748f1 15 'HTTP::Daemon' => 0,
16 'HTML::Entities' => 0,
17 'HTTP::Headers' => 0,
18 'HTTP::Request' => 0,
19 'HTTP::Response' => 0,
20 'LWP::UserAgent' => 0,
3245f607 21 'Module::Pluggable::Fast' => 0.15,
4f6748f1 22 'Path::Class' => 0,
23 'Template' => 0,
24 'Text::ASCIITable' => 0,
25 'Tree::Simple' => 0,
26 'Tree::Simple::Visitor::FindByPath' => 0,
27 'URI' => 0,
28 },
adfe7ead 29 create_makefile_pl => 'passthrough',
4f6748f1 30 script_files => [ glob('script/*') ],
31 test_files => [
32 glob('t/*.t'), glob('t/*/*.t'), glob('t/*/*/*.t'), glob('t/*/*/*/*.t')
33 ]
34);
35$build->create_build_script;
36
37print( '*' x 80, "\n" );
38print(
39 (qw/chansen draven fordmason naughton sri the_jester/)[ int( rand(6) ) ],
40 " is the greatest and gabb is ",
41 ( (localtime)[2] > 12 ? "drunk" : "hung over" ),
42 " again!\n"
43);
44print( '*' x 80, "\n" );
45
46eval "use mod_perl; use Apache::Request";
47print qq/Install "mod_perl" and "Apache::Request" for Apache support.\n/ if $@;
48
49eval "use FCGI";
50print qq/Install "FCGI" for FastCGI support.\n/ if $@;