X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=Makefile.PL;h=33bab6bb18646eb372609508c93633b9e46c1ac6;hb=8e74b4c85ca723cf8c47c7a6eff3f155dc53aed5;hp=782f9101addeeed2d53ef7ac5a887c9624482c2e;hpb=000e34969f016810f1455865a926ad62d8f810c2;p=www-offliberty.git diff --git a/Makefile.PL b/Makefile.PL index 782f910..33bab6b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,21 +1,30 @@ use ExtUtils::MakeMaker; +use strict; +use warnings; + +my $has_br = $ExtUtils::MakeMaker::VERSION >= 6.5503; WriteMakefile( NAME => 'WWW::Offliberty', VERSION_FROM => 'lib/WWW/Offliberty.pm', ABSTRACT_FROM => 'lib/WWW/Offliberty.pm', AUTHOR => 'Marius Gavrilescu ', - MIN_PERL_VERSION => '5.14.0', + EXE_FILES => ['off'], + MIN_PERL_VERSION => '5.8.9', LICENSE => 'perl', + (BUILD_REQUIRES => { + qw/Test::RequiresInternet 0/, + }) x $has_br, SIGN => 1, PREREQ_PM => { - HTML::TreeBuilder => 0, - LWP::UserAgent => 0, + qw/HTML::TreeBuilder 0 + HTTP::Tiny 0.014/, # post_form was introduced in 0.014 + ('Test::RequiresInternet' => 0) x !$has_br }, META_ADD => { dynamic_config => 0, resources => { - repository => 'http://git.ieval.ro/?p=www-offliberty.git', + repository => 'https://git.ieval.ro/?p=www-offliberty.git', }, } );