5 use ExtUtils::MakeMaker;
7 my $dist = 'subs-auto';
9 (my $name = $dist) =~ s{-}{::}g;
11 (my $file = $dist) =~ s{-}{/}g;
12 $file = "lib/$file.pm";
18 'Variable::Magic' => '0.08',
22 configure_requires => {
23 'ExtUtils::MakeMaker' => 0,
26 'ExtUtils::MakeMaker' => 0,
32 bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
33 homepage => "http://search.cpan.org/dist/$dist/",
34 license => 'http://dev.perl.org/licenses/',
35 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
41 AUTHOR => 'Vincent Pit <perl@profvince.com>',
43 VERSION_FROM => $file,
44 ABSTRACT_FROM => $file,
46 PREREQ_PM => \%PREREQ_PM,
47 MIN_PERL_VERSION => 5.010,
50 PREOP => "pod2text $file > \$(DISTVNAME)/README",
51 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
54 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
63 my $cv = join ' -coverage ', 'cover',
64 qw/statement branch condition path subroutine time/;