summaryrefslogtreecommitdiff
path: root/dist/constant/Makefile.PL
blob: a3b0a76fc54d846eacda53bd25e48c33fb78695c (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
30
use 5.006;
use strict;
use ExtUtils::MakeMaker;

my %prereq = (
    "Test::More" => 0,
);

WriteMakefile(
    NAME            => 'constant',
    LICENSE         => 'perl',
    AUTHOR          => 'Sebastien Aperghis-Tramoni <sebastien@aperghis.net>',
    VERSION_FROM    => 'lib/constant.pm',
    ABSTRACT_FROM   => 'lib/constant.pm',
    INSTALLDIRS     => ( $] < 5.011 ? 'perl' : 'site' ),
    PL_FILES        => {},
    PREREQ_PM       => \%prereq,
    META_MERGE          => {
        resources       => {
            repository  => 'https://github.com/Perl/perl5.git',
            license     => 'http://dev.perl.org/licenses/',
            homepage    => 'https://metacpan.org/module/constant',
            irc         => 'irc://irc.perl.org/#p5p',
            mailinglist => 'http://lists.perl.org/list/perl5-porters.html',
            bugtracker  => 'https://github.com/Perl/perl5/issues',
        },
    },
    dist            => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean           => { FILES => 'constant-*' },
);