-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile.PL
32 lines (26 loc) · 948 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
use ExtUtils::MakeMaker;
my %args = (
NAME => 'Geography::Countries',
VERSION_FROM => 'lib/Geography/Countries.pm',
ABSTRACT_FROM => 'lib/Geography/Countries.pm',
MIN_PERL_VERSION => 5.006,
AUTHOR => 'Abigail <geography-countries@abigail.be>',
LICENSE => 'mit',
META_MERGE => {
resources => {
repository => 'git://github.com/Abigail/geography--countries.git',
},
keywords => [qw [Geography Countries]],
},
);
my %filter = (
MIN_PERL_VERSION => '6.48',
LICENSE => '6.48',
META_MERGE => '6.46',
AUTHOR => '6.07',
ABSTRACT_FROM => '6.07',
);
delete $args {$_} for grep {defined $filter {$_} &&
$ExtUtils::MakeMaker::VERSION lt $filter {$_}}
keys %args;
WriteMakefile %args;