5 use ExtUtils::MakeMaker;
7 my $dist = 'Variable-Temp';
9 (my $name = $dist) =~ s{-}{::}g;
11 (my $file = $dist) =~ s{-}{/}g;
12 $file = "lib/$file.pm";
18 'Variable::Magic' => '0.51',
22 my %BUILD_REQUIRES = (
23 'ExtUtils::MakeMaker' => 0,
30 configure_requires => {
31 'ExtUtils::MakeMaker' => 0,
38 bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist",
39 homepage => "http://search.cpan.org/dist/$dist/",
40 license => 'http://dev.perl.org/licenses/',
41 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
47 AUTHOR => 'Vincent Pit <perl@profvince.com>',
49 VERSION_FROM => $file,
50 ABSTRACT_FROM => $file,
52 BUILD_REQUIRES => \%BUILD_REQUIRES,
53 PREREQ_PM => \%PREREQ_PM,
54 MIN_PERL_VERSION => '5.006',
57 PREOP => "pod2text -u $file > \$(DISTVNAME)/README",
58 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
61 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"