-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.PL
60 lines (53 loc) · 1.77 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
48
49
50
51
52
53
54
55
56
57
58
59
use 5.010001;
use strict;
use warnings FATAL => 'all';
use ExtUtils::MakeMaker;
my %write_makefile_param = (
NAME => 'JIP::Spy::Events',
AUTHOR => q{Volodymyr Zhavoronkov <flyweight@yandex.ru>},
VERSION_FROM => 'lib/JIP/Spy/Events.pm',
ABSTRACT_FROM => 'lib/JIP/Spy/Events.pm',
LICENSE => 'artistic_2',
PL_FILES => {},
MIN_PERL_VERSION => '5.010001',
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
license => ['http://www.opensource.org/licenses/artistic-license-2.0'],
bugtracker => { web => 'https://github.com/outtaspace/jip_spy_events/issues' },
repository => {
type => 'git',
url => 'https://github.com/outtaspace/jip_spy_events.git',
web => 'https://github.com/outtaspace/jip_spy_events',
},
},
},
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 0,
},
BUILD_REQUIRES => {},
TEST_REQUIRES => {
English => 0,
'Test::More' => 0,
},
PREREQ_PM => {
Exporter => 0,
English => 0,
Carp => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz' },
clean => { FILES => 'JIP-Spy-Events-*' },
);
if ( !eval { ExtUtils::MakeMaker->VERSION(6.63_03); } ) {
$write_makefile_param{PREREQ_PM} = {
%{ delete $write_makefile_param{TEST_REQUIRES} },
%{ delete $write_makefile_param{BUILD_REQUIRES} },
};
}
if ( !eval { ExtUtils::MakeMaker->VERSION(6.52) } ) {
delete $write_makefile_param{CONFIGURE_REQUIRES};
}
if ( !eval { ExtUtils::MakeMaker->VERSION(6.48) } ) {
delete $write_makefile_param{MIN_PERL_VERSION};
}
WriteMakefile(%write_makefile_param);