X-Git-Url: http://git.ieval.ro/?p=mafia.git;a=blobdiff_plain;f=Makefile.PL;h=f2bca8ced1b6d81f4b771ab26e11619ebf6d7bb5;hp=fddb4e4769a448c367521e8dec0275584af0b677;hb=78e7a0594cc773f3af79a430d248116d388ba43d;hpb=8123f08c8fd5bfee03372b93b74f1178d8801666 diff --git a/Makefile.PL b/Makefile.PL index fddb4e4..f2bca8c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,25 +1,26 @@ -use 5.014000; +use 5.010001; use ExtUtils::MakeMaker; +my $has_tr = $ExtUtils::MakeMaker::VERSION >= 6.64; + WriteMakefile( NAME => 'Mafia', VERSION_FROM => 'lib/Mafia.pm', ABSTRACT_FROM => 'lib/Mafia.pm', AUTHOR => 'Marius Gavrilescu ', - MIN_PERL_VERSION => '5.14.0', + MIN_PERL_VERSION => '5.10.1', LICENSE => 'perl', SIGN => 1, - PREREQ_PM => { - qw/Storable 0/, - }, - BUILD_REQUIRES => { - qw/File::Basename 0 - File::Slurp 0/, - }, + (TEST_REQUIRES => { + qw/File::Spec::Functions 3.62/, + }) x $has_tr, + (PREREQ_PM => { + qw/File::Spec::Functions 3.62/, + }) x !$has_tr, META_MERGE => { dynamic_config => 0, resources => { - repository => 'http://git.ieval.ro/?p=mafia.git', + repository => 'https://git.ieval.ro/?p=mafia.git', } } );