| 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 | EXE_FILES => ['tdwtf'], |
| 15 | MIN_PERL_VERSION => '5.14.0', |
| 16 | LICENSE => 'perl', |
| 17 | SIGN => 1, |
| 18 | PREREQ_PM => { |
| 19 | qw/Class::Accessor::Fast 0 |
| 20 | HTML::FormatText 0 |
| 21 | JSON::MaybeXS 0/, |
| 22 | }, |
| 23 | @tr, |
| 24 | META_ADD => { |
| 25 | dynamic_config => 0, |
| 26 | resources => { |
| 27 | repository => 'https://git.ieval.ro/?p=webservice-tdwtf.git', |
| 28 | }, |
| 29 | } |
| 30 | ); |