| 1 | use 5.014000; |
| 2 | use ExtUtils::MakeMaker; |
| 3 | |
| 4 | my $has_tr = $ExtUtils::MakeMaker::VERSION >= 6.64; |
| 5 | my @tr = (($has_tr ? 'TEST_REQUIRES' : 'BUILD_REQUIRES') => { |
| 6 | qw/Test::RequiresInternet 0/, |
| 7 | }); |
| 8 | |
| 9 | WriteMakefile( |
| 10 | NAME => 'WebService::TDWTF', |
| 11 | VERSION_FROM => 'lib/WebService/TDWTF.pm', |
| 12 | ABSTRACT_FROM => 'lib/WebService/TDWTF.pm', |
| 13 | AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>', |
| 14 | MIN_PERL_VERSION => '5.14.0', |
| 15 | LICENSE => 'perl', |
| 16 | SIGN => 1, |
| 17 | PREREQ_PM => { |
| 18 | qw/Class::Accessor::Fast 0 |
| 19 | JSON::MaybeXS 0/, |
| 20 | }, |
| 21 | @tr, |
| 22 | META_ADD => { |
| 23 | dynamic_config => 0, |
| 24 | resources => { |
| 25 | repository => 'https://git.ieval.ro/?p=webservice-tdwtf.git', |
| 26 | }, |
| 27 | } |
| 28 | ); |