1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
use Module::Build;
my $build = Module::Build->new
(
module_name => 'CGI::Application',
license => 'perl',
requires => {
'Module::Build' => 0,
'CGI' => 4.21,
'HTML::Template' => 0,
'Test::More' => 0.47,
'Test::Requires' => 0,
'Carp' => 0,
'Class::ISA' => 0,
'Scalar::Util' => 0,
},
recommends => {
CGI::PSGI => 0.09, # If you want to use run_as_psgi()
},
'dist_author' => [
'Jesse Erlbaum <jesse@erlbaum.net>',
'Mark Stosberg <mark@summersault.com>',
'Martin McGrath <mcgrath.martin@gmail.com>',
'with the help of many others!'
],
'dist_abstract' => 'Framework for building reusable web-applications',
create_makefile_pl => 'traditional',
meta_add => {
no_index => { file => [ <test/*.pm> ] },
},
meta_merge => {
resources => {
repository => 'https://github.com/MartinMcGrath/CGI--Application',
bugtracker => 'https://github.com/MartinMcGrath/CGI--Application/issues'
},
},
);
$build->create_build_script;
|