forked from AndyA/Geo--Hash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.PL
More file actions
27 lines (23 loc) · 714 Bytes
/
Makefile.PL
File metadata and controls
27 lines (23 loc) · 714 Bytes
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
use 5.006001;
use strict;
use ExtUtils::MakeMaker;
eval 'use ExtUtils::MakeMaker::Coverage';
WriteMakefile(
( MM->can( 'signature_target' ) ? ( SIGN => 1 ) : () ),
license( 'perl' ),
NAME => 'Geo::Hash',
AUTHOR => 'Andy Armstrong <andy@hexten.net>',
VERSION_FROM => 'lib/Geo/Hash.pm',
ABSTRACT_FROM => 'lib/Geo/Hash.pm',
PL_FILES => {},
PREREQ_PM => { 'Test::More' => 0, },
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Geo-Hash-*' },
);
sub license {
my $lic = shift;
local $^W = 0; # Silence warning about non-numeric version
return
unless $ExtUtils::MakeMaker::VERSION >= '6.31';
return ( LICENSE => $lic );
}