5 use ExtUtils::MakeMaker;
7 my $dist = 'Test-Leaner';
9 (my $name = $dist) =~ s{-}{::}g;
11 (my $file = $dist) =~ s{-}{/}g;
12 $file = "lib/$file.pm";
20 configure_requires => {
21 'ExtUtils::MakeMaker' => 0,
24 'ExtUtils::MakeMaker' => 0,
29 bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist",
30 homepage => "http://search.cpan.org/dist/$dist/",
31 license => 'http://dev.perl.org/licenses/',
32 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
38 AUTHOR => 'Vincent Pit <perl@profvince.com>',
40 VERSION_FROM => $file,
41 ABSTRACT_FROM => $file,
43 PREREQ_PM => \%PREREQ_PM,
44 MIN_PERL_VERSION => '5.006',
47 PREOP => "pod2text -u $file > \$(DISTVNAME)/README",
48 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
51 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"