7 use ExtUtils::MakeMaker 6.31;
11 my %WriteMakefileArgs = (
12 'ABSTRACT' => 'Generate and manipulate HTML calendar months',
13 'AUTHOR' => 'Matthew P. Sisk <msisk@cpan.org>',
23 'CONFIGURE_REQUIRES' => {
24 'ExtUtils::MakeMaker' => '6.31'
26 'DISTNAME' => 'HTML-CalendarMonth',
29 'NAME' => 'HTML::CalendarMonth',
32 'Class::Accessor' => '0',
33 'DateTime::Locale' => '0.45',
35 'HTML::ElementTable' => '1.18',
46 unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
47 my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
48 my $pp = $WriteMakefileArgs{PREREQ_PM};
49 for my $mod ( keys %$br ) {
50 if ( exists $pp->{$mod} ) {
51 $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
54 $pp->{$mod} = $br->{$mod};
59 delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
60 unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
62 WriteMakefile(%WriteMakefileArgs);