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
|
use Module::Build;
my $build = Module::Build->new(
module_name => 'WWW::Shorten',
license => 'artistic_2',
requires => {
'perl' => '5.006',
'LWP' => '5.75',
'LWP::UserAgent' => '2.023',
'URI' => '1.27',
'Config::Auto' => 0,
},
build_requires => {
'Test::More' => '0.47',
},
build_recommends => {
'Test::Pod' => 0,
'Test::Pod::Coverage' => 0,
'Test::Signature' => 0,
},
create_makefile_pl => 'traditional',
script_files => [ 'bin/shorten' ],
);
$build->create_build_script;
|