-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.PL
45 lines (40 loc) · 997 Bytes
/
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
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::Aphra',
VERSION_FROM => 'lib/App/Aphra.pm',
LICENSE => 'perl_5',
EXE_FILES => [ 'bin/aphra' ],
PREREQ_PM => {
Clone => 0,
Template => 0,
Moose => 0,
'Template::Provider::Pandoc' => 0,
'Text::FrontMatter::YAML' => 0,
'Path::Tiny' => 0,
'YAML::XS' => 0,
'Sys::Hostname' => 0,
URI => 0,
},
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/davorg-cpan/app-aphra.git',
web => 'https://github.com/davorg-cpan/app-aphra',
},
bugtracker => {
web => 'https://github.com/davorg-cpan/app-aphra/issues',
},
},
},
($mm_ver >= 6.48
? (MIN_PERL_VERSION => 5.014)
: ()
),
);