The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use 5.008000;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

my %makefile = (
    NAME              => 'Asterisk::AMI',
    VERSION_FROM      => 'lib/Asterisk/AMI.pm', # finds $VERSION
    PREREQ_PM         => { "parent" => 0,
			   "version" => 0,
			   "AnyEvent" => "5.2",
			   "AnyEvent::Socket" => 0,
			   "AnyEvent::Handle" => 0,
			   "Digest::MD5" => 0,
			   "Scalar::Util" => 0,
                           "Carp" => 0
			},
    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM  => 'lib/Asterisk/AMI.pm', # retrieve abstract from module
       AUTHOR         => 'Ryan Bullock <rrb3942@gmail.com>') : ()),
);

if ($ExtUtils::MakeMaker::VERSION > 6.30) {
	$makefile{'LICENSE'} = 'artistic_2';
}

if ($ExtUtils::MakeMaker::VERSION > 6.44) {

	$makefile{'META_MERGE'} = { 'recommends' => { 'EV' => 0,
                                             'Net::SSLeay' => 0
                                           }
                        	};
}

WriteMakefile(%makefile);