]> iEval git - www-offliberty.git/blobdiff - Makefile.PL
Bump version and update Changes
[www-offliberty.git] / Makefile.PL
index 36089b8cf904c55f6ac8218f82a6fe74971a5dec..33bab6bb18646eb372609508c93633b9e46c1ac6 100644 (file)
@@ -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,21 +10,21 @@ WriteMakefile(
        ABSTRACT_FROM    => 'lib/WWW/Offliberty.pm',
        AUTHOR           => 'Marius Gavrilescu <marius@ieval.ro>',
        EXE_FILES        => ['off'],
-       MIN_PERL_VERSION => '5.14.0',
+       MIN_PERL_VERSION => '5.8.9',
        LICENSE          => 'perl',
-       BUILD_REQUIRES    => {
-               qw/LWP::Online 0/,
-       },
+       (BUILD_REQUIRES => {
+               qw/Test::RequiresInternet 0/,
+       }) x $has_br,
        SIGN             => 1,
        PREREQ_PM        => {
-               qw/Getopt::Long      0
-                  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',
                },
        }
 );
This page took 0.019678 seconds and 4 git commands to generate.