1use strict;
2use warnings;
3
4use 5.006;
5use ExtUtils::MakeMaker;
6
7my %WriteMakefile_args = (
8    'NAME'             => 'FindBin',
9    'VERSION_FROM'     => 'lib/FindBin.pm',
10    'ABSTRACT_FROM'    => 'lib/FindBin.pm',
11    'LICENSE'          => 'perl_5',
12    'INSTALLDIRS'      => ($] >= '5.011' ? 'site' : 'perl'),
13    'MIN_PERL_VERSION' => '5.006',
14    'PREREQ_PM'        => {
15        'Exporter'       => '0',
16        'Carp'           => '0',
17        'Cwd'            => '0',
18        'File::Basename' => '0',
19        'File::Spec'     => '0',
20    },
21    'dist'       => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
22    'META_MERGE' => {
23        'meta-spec'      => { 'version' => 2 },
24        'dynamic_config' => 0,
25        'resources'      => {
26            'license'    => ['http://dev.perl.org/licenses/'],
27            'bugtracker' => { 'web' => 'https://github.com/perl/perl5/issues' },
28            'repository' => {
29                'type' => 'git',
30                'url'  => 'https://github.com/perl/perl5.git',
31                'web'  => 'https://github.com/perl/perl5',
32            },
33        }
34    },
35);
36
37delete $WriteMakefile_args{LICENSE}          unless eval { ExtUtils::MakeMaker->VERSION('6.31') };
38delete $WriteMakefile_args{META_MERGE}       unless eval { ExtUtils::MakeMaker->VERSION('6.46') };
39delete $WriteMakefile_args{MIN_PERL_VERSION} unless eval { ExtUtils::MakeMaker->VERSION('6.48') };
40
41WriteMakefile(%WriteMakefile_args);
42