#
# $Id: Makefile.PL 2005 2015-01-23 06:56:13Z gomor $
#
use ExtUtils::MakeMaker;
my @conditions_modules = ();
eval {
require Socket;
Socket->import(qw(AF_INET6 getaddrinfo));
};
if ($@) {
@conditions_modules = ( Socket6 => 0 );
}
WriteMakefile(
NAME => 'Net::Write',
LICENSE => 'artistic',
VERSION_FROM => 'lib/Net/Write.pm',
ABSTRACT_FROM => 'lib/Net/Write.pm',
AUTHOR => 'GomoR <gomor_at_cpan.org>',
MIN_PERL_VERSION => '5.6.1',
PREREQ_PM => {
Class::Gomor => 0,
Net::Pcap => '0.12',
@conditions_modules,
},
);