Permalink
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (43 sloc) 1.2 KB
use strict;
use warnings;
use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
"ABSTRACT" => "Self-Validating Object System and Data Validation Framework",
"AUTHOR" => "Al Newkirk <anewkirk\@ana.io>",
"BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
"DISTNAME" => "Validation-Class",
"EXE_FILES" => [],
"LICENSE" => "perl",
"NAME" => "Validation::Class",
"PREREQ_PM" => {
"Carp" => 0,
"Class::Forward" => "0.08",
"Hash::Flatten" => 0,
"Hash::Merge" => 0,
"Module::Find" => 0,
"Module::Runtime" => 0,
"utf8" => 0
},
"VERSION" => "7.86",
"test" => {
"TESTS" => "t/*.t t/regression/*.t t/regression/filters/*.t t/regression/validators/*.t"
}
);
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);