summaryrefslogtreecommitdiff
path: root/cpan/dist/Crypt-RandPasswd/Makefile.PL
blob: 8a8269b1bb7ddeadaa05b05556d524e3d3f81f00 (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
31
32
33
34
35
36
37
use ExtUtils::MakeMaker;

my $mm_ver = $ExtUtils::MakeMaker::VERSION;
if ($mm_ver =~ /_/) { # dev version
    $mm_ver = eval $mm_ver;
    die $@ if $@;
}

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    'NAME'	=> 'Crypt::RandPasswd',
    'VERSION_FROM' => 'lib/Crypt/RandPasswd.pm', # finds $VERSION

    ($mm_ver <= 6.31
        ? ()
        : (LICENSE => 'perl')
    ),

    ($mm_ver >= 6.48
        ? (MIN_PERL_VERSION => 5.006)
        : ()
    ),

    ($mm_ver <= 6.45 ? () : (META_MERGE => {
        'meta-spec' => { version => 2 },
        resources => {
            bugtracker  =>      'http://rt.cpan.org/Public/Dist/Display.html?Name=Crypt-RandPasswd',
            repository  => {
                type => 'git',
                web  => 'https://github.com/neilbowers/Crypt-RandPasswd',
                url  => 'git://github.com/neilbowers/Crypt-RandPasswd.git',
            },
        },
    })),

);