-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
47 lines (41 loc) · 1.04 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
47
use strict;
use warnings;
use ExtUtils::MakeMaker;
my $mm_ver = $ExtUtils::MakeMaker::VERSION;
if ($mm_ver =~ /_/) { # developer release/version
$mm_ver = eval { $mm_ver };
die $@ if $@;
}
WriteMakefile(
NAME => 'App::MergeCal',
VERSION_FROM => 'lib/App/MergeCal.pm',
LICENSE => 'perl_5',
EXE_FILES => [ 'bin/mergecal' ],
PREREQ_PM => {
($^V lt v5.38 ? ('Object::Pad' => 0) : ()),
'Feature::Compat::Class' => 0.04,
'Text::vFile::asData' => 0,
'LWP::Simple' => 0,
'JSON' => 0,
},
TEST_REQUIRES => {
'Test::More' => 0,
},
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/davorg-cpan/app-mergecal.git',
web => 'https://github.com/davorg-cpan/app-mergecal',
},
bugtracker => {
web => 'https://github.com/davorg-cpan/app-mergecal/issues',
},
},
},
($mm_ver >= 6.48
? (MIN_PERL_VERSION => 5.014)
: ()
),
);