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 => 'Vcdiff::Xdelta3',
    VERSION_FROM => 'lib/Vcdiff/Xdelta3.pm',
    PREREQ_PM => {
      'Vcdiff' => '0.505',
      'Carp' => 0,
    },
    LIBS => [],
    DEFINE => '',
    INC => '-Iinc/',
    OBJECT => 'inc/xdelta3.o Interface.o',
    LDFROM => 'xdelta3.o Interface.o',
    LICENSE => 'gpl',
    dist => {
      PREOP => 'perldoc -uT lib/Vcdiff/Xdelta3.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/Vcdiff-Xdelta3.git',
            bugtracker => 'https://github.com/hoytech/Vcdiff-Xdelta3/issues',
        },
    };
}

WriteMakefile(%args);