/
Makefile.PL
46 lines (42 loc) · 1.33 KB
/
Makefile.PL
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
38
39
40
41
42
43
44
45
46
#!/usr/bin/perl
use 5.006;
use strict;
use warnings;
use ExtUtils::MakeMaker;
use File::Find;
my $mm_ver = $ExtUtils::MakeMaker::VERSION;
if ($mm_ver =~ /_/) {
$mm_ver = eval $mm_ver;
die $@ if $@;
}
WriteMakefile(
NAME => "Test::DBGp",
VERSION_FROM => "lib/Test/DBGp.pm",
ABSTRACT_FROM => "lib/Test/DBGp.pm",
AUTHOR => 'Mattia Barbon <mbarbon@cpan.org>',
PREREQ_PM => {
'Test::Differences' => '0.63',
'File::Temp' => 0,
},
( $mm_ver >= 6.48 ? ( MIN_PERL_VERSION => 5.006 ) :
() ),
( $mm_ver >= 6.31 ? ( LICENSE => 'perl_5' ) :
() ),
( $mm_ver >= 6.46 ?
( META_MERGE => {
"meta-spec" => { version => 2 },
resources => {
license => [ 'http://dev.perl.org/licenses/' ],
# homepage => 'https://github.com/mbarbon/test-dbgp',
bugtracker => {
web => 'https://github.com/mbarbon/test-dbgp/issues',
},
repository => {
url => 'git@github.com:mbarbon/test-dbgp.git',
web => 'https://github.com/mbarbon/test-dbgp',
type => 'git',
},
},
},
) : () ),
);