summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/dist/Exporter/Makefile.PL
blob: 9d41364f4da96ffb1c14c9cb95d9e264fb23b0b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use 5.006;
use ExtUtils::MakeMaker;

my $EUMM_VERSION = $ExtUtils::MakeMaker::VERSION;
$EUMM_VERSION =~ s/_//g;

WriteMakefile(
    NAME         => 'Exporter',
    VERSION_FROM => 'lib/Exporter.pm',
    ( $] > 5.011 ) ? () : ( INSTALLDIRS => 'perl' ),    # CPAN sourced versions should now install to site
    PREREQ_PM => {
        'Carp' => '1.05',
    },
    ABSTRACT_FROM => 'lib/Exporter.pm',
    ( $EUMM_VERSION >= 6.31 ? ( LICENSE => 'perl_5' ) : () ),
    dist       => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    META_MERGE => {
        recommends => {
            'Test::Pod'           => 1.18,
            'Test::Pod::Coverage' => 1.04
        },
        resources => {
            license     => 'http://dev.perl.org/licenses/',
            bugtracker  => 'https://github.com/Perl/perl5/issues',
            repository  => 'https://github.com/Perl/perl5/tree/blead/dist/Exporter',
            MailingList => 'http://lists.perl.org/list/perl5-porters.html',
        },
    },
);