]>
Commit | Line | Data |
---|---|---|
de48830a | 1 | use ExtUtils::MakeMaker; |
a0765f3d MG |
2 | use strict; |
3 | use warnings; | |
4 | ||
5 | my $has_br = $ExtUtils::MakeMaker::VERSION >= 6.5503; | |
de48830a MG |
6 | |
7 | WriteMakefile( | |
000e3496 MG |
8 | NAME => 'WWW::Offliberty', |
9 | VERSION_FROM => 'lib/WWW/Offliberty.pm', | |
10 | ABSTRACT_FROM => 'lib/WWW/Offliberty.pm', | |
11 | AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>', | |
182562fe | 12 | EXE_FILES => ['off'], |
a0765f3d | 13 | MIN_PERL_VERSION => '5.8.9', |
000e3496 | 14 | LICENSE => 'perl', |
a0765f3d | 15 | (BUILD_REQUIRES => { |
09f254ed | 16 | qw/Test::RequiresInternet 0/, |
a0765f3d | 17 | }) x $has_br, |
000e3496 MG |
18 | SIGN => 1, |
19 | PREREQ_PM => { | |
c73fe05d | 20 | qw/HTML::TreeBuilder 0 |
62f3eb69 | 21 | HTTP::Tiny 0.014/, # post_form was introduced in 0.014 |
a0765f3d | 22 | ('Test::RequiresInternet' => 0) x !$has_br |
c73fe05d | 23 | }, |
000e3496 MG |
24 | META_ADD => { |
25 | dynamic_config => 0, | |
26 | resources => { | |
c73fe05d | 27 | repository => 'https://git.ieval.ro/?p=www-offliberty.git', |
000e3496 MG |
28 | }, |
29 | } | |
de48830a | 30 | ); |