1use ExtUtils::MakeMaker; 2require 5.008; 3my $xt = prompt( "Should I do external tests?\n". 4 "These tests will fail if there is no internet connection or if a firewall\n". 5 "blocks some traffic.\n". 6 "[y/N]", 'n' ); 7WriteMakefile( 8 NAME => 'Net::SSLGlue', 9 VERSION_FROM => 'lib/Net/SSLGlue.pm', 10 PREREQ_PM => { 11 'IO::Socket::SSL' => 1.19, 12 }, 13 $xt =~m{^y}i ? ( test => { TESTS => 't/*.t t/external/*.t' }):(), 14 META_MERGE => { 15 resources => { 16 repository => 'https://github.com/noxxi/p5-net-sslglue', 17 }, 18 }, 19); 20