5 use ExtUtils::MakeMaker;
9 # Fork emulation got "fixed" in 5.10.1
10 if ($^O eq 'MSWin32' && $^V lt v5.10.1) {
11 push @DEFINES, '-DREP_FORKSAFE=0';
14 @DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES;
16 my $dist = 're-engine-Plugin';
18 (my $name = $dist) =~ s{-}{::}g;
25 configure_requires => {
26 'ExtUtils::MakeMaker' => 0,
29 'ExtUtils::MakeMaker' => 0,
35 bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist",
36 homepage => "http://search.cpan.org/dist/$dist/",
37 license => 'http://dev.perl.org/licenses/',
38 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
44 AUTHOR => 'Vincent Pit <perl@profvince.com>',
46 ABSTRACT_FROM => 'Plugin.pod',
47 VERSION_FROM => 'Plugin.pm',
50 PREREQ_PM => \%PREREQ_PM,
51 MIN_PERL_VERSION => 5.010,
54 PREOP => 'pod2text Plugin.pod > $(DISTVNAME)/README',
55 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
58 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
61 TESTS => 't/*.t t/*/*.t t/*/*/*.t',