The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;

use ExtUtils::MakeMaker;


my %args = (
    NAME => 'IO::Vectored',
    VERSION_FROM => 'lib/IO/Vectored.pm',
    PREREQ_PM => {
      'XSLoader' => 0,
      'Carp' => 0,
      'Exporter' => 0,
    },
    CCFLAGS => '-Wall',
    LIBS => [],
    DEFINE => '',
    LICENSE => 'perl',
    dist => {
      PREOP => 'perldoc -uT lib/IO/Vectored.pm > README.pod; pod2text README.pod > $(DISTVNAME)/README',
    },
);


my $eummv = eval ($ExtUtils::MakeMaker::VERSION);
if ($eummv >= 6.45) {
    $args{META_MERGE} = {
        resources => {
            repository => 'git://github.com/hoytech/IO-Vectored.git',
            bugtracker => 'https://github.com/hoytech/IO-Vectored/issues',
        },
    };
}

WriteMakefile(%args);