X-Git-Url: http://git.ieval.ro/?p=mafia.git;a=blobdiff_plain;f=Makefile.PL;h=f2bca8ced1b6d81f4b771ab26e11619ebf6d7bb5;hp=41039faa64ce5d613937b44bb8d0c8f575d9b1aa;hb=1d52c1c483fb0332cea9e43b4b3347a4d465218c;hpb=40af1ba20d91ba52d7b3db23afc0f1b9cafd04aa diff --git a/Makefile.PL b/Makefile.PL index 41039fa..f2bca8c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,26 +1,26 @@ +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', - PREREQ_PM => { - Storable => 0, - }, - BUILD_REQUIRES => { - File::Basename => 0, - File::Slurp => 0, - }, - META_ADD => { - resources => { - repository => { - url => 'http://git.ieval.ro/git/mafia.git', - web => 'http://git.ieval.ro/?p=mafia.git', - type => 'git', - } + SIGN => 1, + (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 => 'https://git.ieval.ro/?p=mafia.git', } } );