From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

my $dist = {
COMPRESS => 'gzip -9f', # Compress tarball using gzip
SUFFIX => 'gz', # File suffix for tarball
};
if($^O eq 'darwin') {
$dist->{'TAR'} = 'gtar';
}
WriteMakefile(
NAME => 'Geo::AnomalyDetector',
VERSION_FROM => 'lib/Geo/AnomalyDetector.pm',
AUTHOR => 'Nigel Horne <njh@nigelhorne.com>',
ABSTRACT => 'Detect anomalies in geospatial coordinate datasets',
((defined($ExtUtils::MakeMaker::VERSION) && ($ExtUtils::MakeMaker::VERSION >= 6.3002))
? ('LICENSE'=> 'GPL')
: ()),
PREREQ_PM => {
'ExtUtils::MakeMaker' => 6.64,
'Statistics::Basic' => 0,
'Math::Trig' => 0,
},
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 6.64,
},
TEST_REQUIRES => {
'Geo::Location::Point' => 0,
'Test::DescribeMe' => 0,
'Test::Most' => 0,
'Test::Needs' => 0,
}, dist => $dist, clean => {
FILES => 'Geo-AnomalyDetector-*'
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
}, bugtracker => {
mailto => 'bug-Geo-AnomalyDetector@rt.cpan.org',
}
},
},
MIN_PERL_VERSION => '5.008'
);