2 use warnings FATAL => 'all';
4 use ExtUtils::MakeMaker;
5 (do './maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
11 # have to do this since old EUMM dev releases miss the eval $VERSION line
12 my $mymeta = eval($ExtUtils::MakeMaker::VERSION) >= 6.57_02;
13 my $mymeta_works = eval($ExtUtils::MakeMaker::VERSION) >= 6.57_07;
16 NAME => 'Algorithm::C3',
17 VERSION_FROM => 'lib/Algorithm/C3.pm',
20 ($mymeta_works ? () : (%BUILD_DEPS)),
22 MIN_PERL_VERSION => 5.006,
23 $mymeta_works ? (BUILD_REQUIRES => \%BUILD_DEPS) : (),
24 ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()),
26 -f 'META.yml' ? () : (META_MERGE => {
27 'meta-spec' => { version => 2 },
29 # r/w: gitmo@git.shadowcat.co.uk:Algorithm-C3.git
31 url => 'git://git.shadowcat.co.uk/gitmo/Algorithm-C3.git',
32 web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Algorithm-C3.git',
36 mailto => 'bug-Algorithm-C3@rt.cpan.org',
37 web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Algorithm-C3',