|
my %WriteMakefileArgs = (
"ABSTRACT" => "Watch over your infrastructure" ,
"AUTHOR" => "Chris Hughes <chrisjh\@cpan.org>" ,
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "App-OverWatch" ,
"EXE_FILES" => [
"bin/servicelock"
],
"LICENSE" => "perl" ,
"NAME" => "App::OverWatch" ,
"PREREQ_PM" => {
"Config::Tiny" => 0,
"DBIx::Connector" => 0,
"Getopt::Long" => 0,
"Module::Load" => 0,
"Moo" => 0,
"Pod::Usage" => 0,
"Try::Tiny" => 0,
"base" => 0,
"namespace::clean" => 0,
"strict" => 0,
"utf8" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"DBD::Pg" => 0,
"DBD::SQLite" => 0,
"DBD::mysql" => 0,
"Test::Exception" => 0,
"Test::More" => 0,
"lib" => 0
},
"VERSION" => "0.003" ,
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Config::Tiny" => 0,
"DBD::Pg" => 0,
"DBD::SQLite" => 0,
"DBD::mysql" => 0,
"DBIx::Connector" => 0,
"ExtUtils::MakeMaker" => 0,
"Getopt::Long" => 0,
"Module::Load" => 0,
"Moo" => 0,
"Pod::Usage" => 0,
"Test::Exception" => 0,
"Test::More" => 0,
"Try::Tiny" => 0,
"base" => 0,
"lib" => 0,
"namespace::clean" => 0,
"strict" => 0,
"utf8" => 0,
"warnings" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs {TEST_REQUIRES};
delete $WriteMakefileArgs {BUILD_REQUIRES};
$WriteMakefileArgs {PREREQ_PM} = \ %FallbackPrereqs ;
}
delete $WriteMakefileArgs {CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile( %WriteMakefileArgs );
|