File: Makefile.PL

package info (click to toggle)
libtest-useallmodules-perl 0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 152 kB
  • ctags: 11
  • sloc: perl: 72; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 749 bytes parent folder | download
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
use strict;
use warnings;
use ExtUtils::MakeMaker;

my %params = (
    NAME => 'Test::UseAllModules',
    VERSION_FROM => 'lib/Test/UseAllModules.pm',
    ABSTRACT_FROM => 'lib/Test/UseAllModules.pm',
    AUTHOR => 'Kenichi Ishigaki <ishigaki@cpan.org>',
    LICENSE => 'perl',
    PREREQ_PM => {
        'Exporter'           => 0,
        'ExtUtils::Manifest' => 0,
        'Test::More'         => '0.60',
        'Test::Builder'      => '0.30',
    },
    META_MERGE => {
        resources => {
            repository => 'https://github.com/charsbar/test-useallmodules',
    },
  },
);

my $eumm = eval $ExtUtils::MakeMaker::VERSION;
delete $params{LICENSE}    if $eumm < 6.31;
delete $params{META_MERGE} if $eumm < 6.46;

WriteMakefile(%params);