| 1 | use 5.010001; |
| 2 | use ExtUtils::MakeMaker; |
| 3 | |
| 4 | my $has_tr = $ExtUtils::MakeMaker::VERSION >= 6.64; |
| 5 | |
| 6 | WriteMakefile( |
| 7 | NAME => 'Mafia', |
| 8 | VERSION_FROM => 'lib/Mafia.pm', |
| 9 | ABSTRACT_FROM => 'lib/Mafia.pm', |
| 10 | AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>', |
| 11 | MIN_PERL_VERSION => '5.10.1', |
| 12 | LICENSE => 'perl', |
| 13 | SIGN => 1, |
| 14 | (TEST_REQUIRES => { |
| 15 | qw/File::Spec::Functions 3.62/, |
| 16 | }) x $has_tr, |
| 17 | (PREREQ_PM => { |
| 18 | qw/File::Spec::Functions 3.62/, |
| 19 | }) x !$has_tr, |
| 20 | META_MERGE => { |
| 21 | dynamic_config => 0, |
| 22 | resources => { |
| 23 | repository => 'https://git.ieval.ro/?p=mafia.git', |
| 24 | } |
| 25 | } |
| 26 | ); |