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
|
# Note: this file has been initially generated by Module::Build::Convert 0.49
use strict;
use warnings;
use Module::Build;
eval 'use ExtUtils::MakeMaker::Coverage';
warn "Optional ExtUtils::MakeMaker::Coverage not available\n" if $@;
use lib 'inc';
use MyBuilder;
my $build = MyBuilder->new(
module_name => 'File::Monitor',
dist_author => 'Andy Armstrong <andy@hexten.net>',
dist_version_from => 'lib/File/Monitor.pm',
requires => {
'Test::More' => 0,
'version' => 0,
},
PL_files => {},
add_to_cleanup => [ 'File-Monitor-*' ],
sign => 1,
license => 'perl',
create_readme => 1,
create_makefile_pl => 'traditional',
);
$build->create_build_script;
sub license {
my $lic = shift;
local $^W = 0; # Silence warning about non-numeric version
return
unless $ExtUtils::MakeMaker::VERSION >= '6.31';
return ( LICENSE => $lic );
}
|