forked from Xaerxess/Bloom-Filter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
49 lines (43 loc) · 1.23 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
use strict;
use warnings;
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
NAME => 'Bloom::Filter',
VERSION_FROM => 'lib/Bloom/Filter.pm',
MIN_PERL_VERSION => '5.6.0',
PREREQ_PM => {
'Carp' => 0,
'Digest::SHA' => 0,
'strict' => 0,
'warnings' => 0,
},
ABSTRACT_FROM => 'lib/Bloom/Filter.pm',
AUTHOR => 'Maciej Ceglowski <[email protected]>',
LICENSE => 'gpl_2',
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'git://github.com/Xaerxess/Bloom-Filter.git',
web => 'https://github.com/Xaerxess/Bloom-Filter',
},
bugtracker => {
web => 'https://rt.cpan.org/Dist/Display.html?Name=Bloom-Filter',
},
},
},
test => {
TESTS => "t/*.t"
},
);
unless (eval { ExtUtils::MakeMaker->VERSION(6.48) }) {
delete $WriteMakefileArgs{MIN_PERL_VERSION};
}
unless (eval { ExtUtils::MakeMaker->VERSION(6.46) }) {
delete $WriteMakefileArgs{META_MERGE};
}
unless (eval { ExtUtils::MakeMaker->VERSION(6.31) }) {
delete $WriteMakefileArgs{LICENSE};
}
WriteMakefile(%WriteMakefileArgs);