5 use ExtUtils::MakeMaker;
9 # Threads, Windows and 5.8.x don't seem to be best friends
10 if ($^O eq 'MSWin32' && $^V lt v5.9.0) {
11 push @DEFINES, '-DSU_MULTIPLICITY=0';
14 @DEFINES = (DEFINE => join ' ', @DEFINES) if @DEFINES;
16 my $dist = 'Scope-Upper';
19 configure_requires => {
20 'ExtUtils::MakeMaker' => 0,
23 'ExtUtils::MakeMaker' => 0,
28 bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
29 homepage => "http://search.cpan.org/dist/$dist/",
30 license => 'http://dev.perl.org/licenses/',
31 repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
36 NAME => 'Scope::Upper',
37 AUTHOR => 'Vincent Pit <perl@profvince.com>',
39 VERSION_FROM => 'lib/Scope/Upper.pm',
40 ABSTRACT_FROM => 'lib/Scope/Upper.pm',
48 MIN_PERL_VERSION => 5.006,
51 PREOP => 'pod2text lib/Scope/Upper.pm > $(DISTVNAME)/README',
52 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
55 FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
64 PERL_DL_NONLAZY=1 PERLDB_OPTS="NonStop=1" prove --exec='$(PERL) -d -T -I$(INST_LIB) -I$(INST_ARCHLIB)' $(TEST_FILES)