use 5.006;
use ExtUtils::MakeMaker;
my $EUMM_VERSION = eval $ExtUtils::MakeMaker::VERSION;
WriteMakefile(
NAME => 'Carp::Always',
VERSION_FROM => 'lib/Carp/Always.pm',
PREREQ_PM => {
Carp => 0,
Test::More => 0,
},
($] >= 5.005 ? (
ABSTRACT_FROM => 'lib/Carp/Always.pm',
AUTHOR => 'Adriano R. Ferreira <ferreira@cpan.org>'
) : ()),
($EUMM_VERSION >= 6.31 ? (
LICENSE => 'perl',
) : ()),
($EUMM_VERSION > 6.4501 ? (
META_MERGE => {
recommends => {
# optional tests
'Test::Pod' => 0,
'Test::Pod::Coverage' => 0,
},
resources => {
repository => 'http://github.com/aferreira/cpan-Carp-Always',
}
},
) : ()),
($EUMM_VERSION >= 6.5501 ? (
BUILD_REQUIRES => {
'Test::Base' => 0, # gotta test the minimum
},
) : ()),
);