use strict;
use warnings;
use Config;
use ExtUtils::MakeMaker;
use File::Spec;
use File::Temp;
# -----------------------------------------------
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
my(%params) =
(
($] ge '5.005') ?
(
AUTHOR => 'Eugene van der Pijll (pijll@gmx.net)',
ABSTRACT => 'Perl class for interpreting dates in Gedcom files',
) : (),
clean =>
{
FILES => 'blib/* Makefile MANIFEST Gedcom-Date-*'
},
dist =>
{
COMPRESS => 'gzip',
SUFFIX => 'gz'
},
DISTNAME => 'Gedcom-Date',
NAME => 'Gedcom::Date',
PL_FILES => {},
PREREQ_PM =>
{
'Config' => 0,
'DateTime' => 1.21,
'DateTime::Locale' => 1.01,
'File::Spec' => 0,
'File::Temp' => 0,
'overload' => 0,
'Params::Validate' => 0,
'strict' => 0,
'Test::Stream' => 1.302026,
'vars' => 0,
'warnings' => 0,
},
VERSION_FROM => 'lib/Gedcom/Date.pm',
);
if ( ($ExtUtils::MakeMaker::VERSION =~ /^\d\.\d\d$/) && ($ExtUtils::MakeMaker::VERSION > 6.30) )
{
$params{LICENSE} = 'artistic_2';
}
if ($ExtUtils::MakeMaker::VERSION ge '6.46')
{
$params{META_MERGE} =
{
'meta-spec' =>
{
'version' => 2,
},
resources =>
{
'bugtracker' => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Gedcom-Date',
'license' => 'http://opensource.org/licenses/GPL-3.0',
repository =>
{
'type' => 'git',
'url' => 'https://github.com/ronsavage/Gedcom-Date.git',
'web' => 'https://github.com/ronsavage/Gedcom-Date',
},
},
};
}
WriteMakefile(%params);