1use strict;
2use warnings;
3use ExtUtils::MakeMaker;
4
5my @extra;
6push @extra, 'LICENSE' => 'perl_5'
7    unless $ExtUtils::MakeMaker::VERSION < 6.31;
8push @extra, 'META_MERGE' => {
9        resources => {
10            repository  => 'git://perl5.git.perl.org/perl.git',
11            bugtracker => 'https://github.com/Perl/perl5/issues',
12            homepage    => "http://dev.perl.org/",
13        },
14    } unless $ExtUtils::MakeMaker::VERSION < 6.46;
15
16WriteMakefile(
17    NAME          => 'Data::Dumper',
18    VERSION_FROM  => 'Dumper.pm',
19    ABSTRACT_FROM => 'Dumper.pm',
20    $] <= 5.011000 ? ( INSTALLDIRS => 'perl' ) : (),
21    @extra,
22);
23