5 use ExtUtils::MakeMaker;
9 (my $name = $dist) =~ s{-}{::}g;
11 (my $file = $dist) =~ s{-}{/}g;
12 $file = "lib/$file.pm";
21 configure_requires => {
22 'ExtUtils::MakeMaker' => 0,
25 'ExtUtils::MakeMaker' => 0,
31 bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
32 homepage => "http://search.cpan.org/dist/$dist/",
33 license => 'http://dev.perl.org/licenses/',
34 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
40 AUTHOR => 'Vincent Pit <perl@profvince.com>',
42 VERSION_FROM => $file,
43 ABSTRACT_FROM => $file,
45 PREREQ_PM => \%PREREQ_PM,
46 MIN_PERL_VERSION => 5.008001,
49 PREOP => "pod2text $file > \$(DISTVNAME)/README",
50 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
53 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
62 my $cv = join ' -coverage ', 'cover',
63 qw/statement branch condition path subroutine time/;