use strict;
use 5.010;
install_share dist => "share";
my %WriteMakefileArgs = (
"ABSTRACT" => "Create an RNG to validate a TBX dialect\r",
"AUTHOR" => "Nathan Glenn <garfieldnate\@gmail.com>",
"BUILD_REQUIRES" => {
"Module::Build" => "0.3601"
},
"CONFIGURE_REQUIRES" => {
"File::ShareDir::Install" => "0.03",
"Module::Build" => "0.3601"
},
"DISTNAME" => "Convert-TBX-RNG",
"EXE_FILES" => [
"bin/xcs2rng.pl"
],
"LICENSE" => "perl",
"NAME" => "Convert::TBX::RNG",
"PREREQ_PM" => {
"Carp" => 0,
"Data::Dumper" => 0,
"Exporter::Easy" => 0,
"File::ShareDir" => 0,
"File::Slurp" => 0,
"Path::Tiny" => 0,
"TBX::XCS" => 0,
"TBX::XCS::JSON" => 0,
"XML::Twig" => 0,
"autodie" => 0,
"feature" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"Data::Section::Simple" => 0,
"File::Find" => 0,
"File::Temp" => 0,
"FindBin" => 0,
"TBX::Checker" => 0,
"Test::Base" => 0,
"Test::Base::Filter" => 0,
"Test::More" => "0.88",
"Test::NoWarnings" => 0,
"XML::Jing" => 0
},
"VERSION" => "0.02",
"test" => {
"TESTS" => "t/*.t"
}
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
my $br = $WriteMakefileArgs{BUILD_REQUIRES};
for my $mod ( keys %$tr ) {
if ( exists $br->{$mod} ) {
$br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
}
else {
$br->{$mod} = $tr->{$mod};
}
}
}
unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
my $pp = $WriteMakefileArgs{PREREQ_PM};
for my $mod ( keys %$br ) {
if ( exists $pp->{$mod} ) {
$pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
}
else {
$pp->{$mod} = $br->{$mod};
}
}
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);
{
package
MY;
use File::ShareDir::Install qw(postamble);
}