X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=Makefile.PL;h=6dbd1dc891defb4a8c22f9704d15827587ed1582;hb=refs%2Ftags%2F1.000001;hp=74979fe2aa3b67fae31b3ae510be8a5f36041668;hpb=c73fe05dc69a5e96357b5a0639b3a4ae01395baa;p=www-offliberty.git diff --git a/Makefile.PL b/Makefile.PL index 74979fe..6dbd1dc 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,5 +1,8 @@ use ExtUtils::MakeMaker; -use 5.014000; +use strict; +use warnings; + +my $has_br = $ExtUtils::MakeMaker::VERSION >= 6.5503; WriteMakefile( NAME => 'WWW::Offliberty', @@ -7,15 +10,16 @@ WriteMakefile( ABSTRACT_FROM => 'lib/WWW/Offliberty.pm', AUTHOR => 'Marius Gavrilescu ', EXE_FILES => ['off'], - MIN_PERL_VERSION => '5.14.0', + MIN_PERL_VERSION => '5.8.9', LICENSE => 'perl', - BUILD_REQUIRES => { + (BUILD_REQUIRES => { qw/Test::RequiresInternet 0/, - }, + }) x $has_br, SIGN => 1, PREREQ_PM => { qw/HTML::TreeBuilder 0 HTTP::Tiny 0/, + ('Test::RequiresInternet' => 0) x !$has_br }, META_ADD => { dynamic_config => 0,