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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
use ExtUtils::MakeMaker;
# ----------------
# 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 => 'Ron Savage (ron@savage.net.au)',
ABSTRACT => 'Persistent session data management',
) : (),
clean =>
{
FILES => 'blib/* Makefile MANIFEST Data-Session-*'
},
dist =>
{
COMPRESS => 'gzip',
SUFFIX => 'gz'
},
DISTNAME => 'Data-Session',
LICENSE => 'perl',
NAME => 'Data::Session',
PL_FILES => {},
PREREQ_PM =>
{
'autovivification' => 0,
'CGI' => 3.63,
'Class::Load' => 0.19,
'Config::Tiny' => 2.14,
'Data::Dumper' => 2.145,
'Data::UUID' => 1.218,
'DBD::SQLite' => 1.39,
'DBI' => 1.627,
'DBIx::Admin::CreateTable' => 2.07,
'Digest::MD5' => 2.52,
'Digest::SHA' => 5.84,
'Fcntl' => 1.06,
'File::Basename' => 2.77,
'File::Path' => 2.07,
'File::Slurper' => 0.012,
'File::Spec' => 3.30,
'File::Temp' => 0.22,
'FreezeThaw' => 0.5001,
'Hash::FieldHash' => 0.14,
'JSON' => 2.59,
'overload' => 0,
'parent' => 0,
'Safe' => 2.35,
'Scalar::Util' => 1.27,
'Storable' => 2.39,
'strict' => 0,
'Try::Tiny' => 0.12,
'vars' => 0,
'warnings' => 0,
'YAML::Tiny' => 1.51,
},
TEST_REQUIRES =>
{
'Test::More' => 1.001014,
'Test::Pod' => 1.48,
},
VERSION_FROM => 'lib/Data/Session.pm',
INSTALLDIRS => 'site',
EXE_FILES => [],
);
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 =>
{
web => 'https://github.com/ronsavage/Data-Session/issues',
},
license => 'http://opensource.org/licenses/Artistic-2.0',
repository =>
{
'type' => 'git',
'url' => 'https://github.com/ronsavage/Data-Session.git',
'web' => 'https://github.com/ronsavage/Data-Session',
},
},
};
}
WriteMakefile(%params);
|