|
use 5.010;
my %WriteMakefileArgs = (
"ABSTRACT" => "I2C interface to LPS331AP Thermometer and Barometer using Device::SMBus" ,
"AUTHOR" => "Shantanu Bhadoria <shantanu at cpan dott org>" ,
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Device-LPS331AP" ,
"LICENSE" => "perl" ,
"MIN_PERL_VERSION" => "5.010" ,
"NAME" => "Device::LPS331AP" ,
"PREREQ_PM" => {
"Device::SMBus" => 0,
"Moose" => 0,
"POSIX" => 0,
"constant" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"File::Temp" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Test::More" => 0,
"blib" => "1.01"
},
"VERSION" => "0.006" ,
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Device::SMBus" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"File::Temp" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Moose" => 0,
"POSIX" => 0,
"Test::More" => 0,
"blib" => "1.01" ,
"constant" => 0,
"strict" => 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 );
|