# This Makefile.PL for POE-Component-SmokeBox-Recent was generated by
# Dist::Zilla::Plugin::MakeMaker::Awesome 0.48.
# Don't edit it but the dist.ini and plugins used to construct it.

use strict;
use warnings;

use ExtUtils::MakeMaker;

my %WriteMakefileArgs = (
  "ABSTRACT" => "A POE component to retrieve recent CPAN uploads.",
  "AUTHOR" => "Chris Williams <chris\@bingosnet.co.uk>",
  "BUILD_REQUIRES" => {
    "ExtUtils::MakeMaker" => "6.59",
    "HTTP::Date" => 0,
    "HTTP::Response" => 0,
    "Test::More" => "0.47",
    "Test::POE::Server::TCP" => "0.14"
  },
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "POE-Component-SmokeBox-Recent",
  "LICENSE" => "perl",
  "NAME" => "POE::Component::SmokeBox::Recent",
  "PREREQ_PM" => {
    "CPAN::Recent::Uploads" => "0.06",
    "HTTP::Request" => 0,
    "Net::IP::Minimal" => 0,
    "POE" => "0.38",
    "POE::Component::Client::DNS" => "1.02",
    "POE::Component::SmokeBox::Recent::HTTP" => "1.54",
    "POE::Filter::HTTP::Parser" => "1.06",
    "Test::POE::Client::TCP" => "0.08",
    "URI" => 0
  },
  "TEST_REQUIRES" => {
    "File::Spec" => 0,
    "IO::Handle" => 0,
    "IPC::Open3" => 0,
    "Test::More" => "0.47"
  },
  "VERSION" => "1.54",
  "test" => {
    "TESTS" => "t/*.t"
  }
);

%WriteMakefileArgs = (
    %WriteMakefileArgs,
    clean => {FILES => "network.tests"},
);

my %FallbackPrereqs = (
  "CPAN::Recent::Uploads" => "0.06",
  "ExtUtils::MakeMaker" => "6.59",
  "File::Spec" => 0,
  "HTTP::Date" => 0,
  "HTTP::Request" => 0,
  "HTTP::Response" => 0,
  "IO::Handle" => 0,
  "IPC::Open3" => 0,
  "Net::IP::Minimal" => 0,
  "POE" => "0.38",
  "POE::Component::Client::DNS" => "1.02",
  "POE::Component::SmokeBox::Recent::HTTP" => "1.54",
  "POE::Filter::HTTP::Parser" => "1.06",
  "Test::More" => "0.47",
  "Test::POE::Client::TCP" => "0.08",
  "Test::POE::Server::TCP" => "0.14",
  "URI" => 0
);

unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

WriteMakefile(%WriteMakefileArgs);

my $value = prompt( 'Do you want live network tests [N/y]?', 'N' );
if ( $value =~ /^y$/i ) {
  open FH, "> network.tests" or die "$!\n";
  print FH "Bleh\n";
  close FH;
}