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