1use ExtUtils::MakeMaker; 2 3my $mm_ver = $ExtUtils::MakeMaker::VERSION; 4if ($mm_ver =~ /_/) { # developer release 5 $mm_ver = eval $mm_ver; 6 die $@ if $@; 7} 8 9WriteMakefile( 10 NAME => 'Statistics::Lite', 11 AUTHOR => 'Brian Lalonde (brian@webcoder.info)', 12 LICENSE => 'perl', 13 VERSION_FROM => 'Lite.pm', 14 ABSTRACT_FROM => 'Lite.pm', 15 16 ($mm_ver <= 6.45 17 ? () 18 : (META_MERGE => { 19 'meta-spec' => { version => 2 }, 20 resources => { 21 repository => { 22 type => 'git', 23 web => 'https://github.com/brianary/Statistics-Lite', 24 url => 'https://github.com/brianary/Statistics-Lite.git', 25 }, 26 }, 27 }) 28 ), 29 30); 31