~ubuntu-branches/ubuntu/wily/libtest-www-mechanize-perl/wily

« back to all changes in this revision

Viewing changes to Makefile.PL

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2012-06-04 18:31:08 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120604183108-67yp4fwpr37z5ofm
Tags: 1.42-1
* New upstream release.
* Make build dependency on libhtml-lint-perl versioned and add it to
  Recommends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
            repository  => 'https://github.com/petdance/test-www-mechanize',
38
38
        }
39
39
    };
40
 
    $parms->{LICENSE} = 'perl';
41
40
}
42
41
if ( $ExtUtils::MakeMaker::VERSION ge '6.48' ) {
43
42
    $parms->{MIN_PERL_VERSION} = 5.008;
44
43
}
45
44
 
 
45
my $module = 'HTML::Lint 2.20';
 
46
if ( not eval "use $module; 1;" ) {
 
47
    print "You don't have $module installed, so cannot use autolinting.\n";
 
48
}
 
49
 
46
50
WriteMakefile( %{$parms} );
47
51
 
48
52