]> git.donarmstrong.com Git - deb_pkgs/libhtml-calendarmonth-perl.git/blob - Makefile.PL
dbaf014ee391d54a57ce04023ccbb93245bd7244
[deb_pkgs/libhtml-calendarmonth-perl.git] / Makefile.PL
1
2 use strict;
3 use warnings;
4
5
6
7 use ExtUtils::MakeMaker 6.31;
8
9
10
11 my %WriteMakefileArgs = (
12   'ABSTRACT' => 'Generate and manipulate HTML calendar months',
13   'AUTHOR' => 'Matthew P. Sisk <msisk@cpan.org>',
14   'BUILD_REQUIRES' => {
15     'Cwd' => '0',
16     'English' => '0',
17     'Exporter' => '0',
18     'File::Spec' => '0',
19     'FindBin' => '0',
20     'Test::More' => '0',
21     'vars' => '0'
22   },
23   'CONFIGURE_REQUIRES' => {
24     'ExtUtils::MakeMaker' => '6.31'
25   },
26   'DISTNAME' => 'HTML-CalendarMonth',
27   'EXE_FILES' => [],
28   'LICENSE' => 'perl',
29   'NAME' => 'HTML::CalendarMonth',
30   'PREREQ_PM' => {
31     'Carp' => '0',
32     'Class::Accessor' => '0',
33     'DateTime::Locale' => '0.45',
34     'File::Which' => '0',
35     'HTML::ElementTable' => '1.18',
36     'Time::Local' => '0',
37     'constant' => '0'
38   },
39   'VERSION' => '1.25',
40   'test' => {
41     'TESTS' => 't/*.t'
42   }
43 );
44
45
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};
52     }
53     else {
54       $pp->{$mod} = $br->{$mod};
55     }
56   }
57 }
58
59 delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
60   unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
61
62 WriteMakefile(%WriteMakefileArgs);
63
64
65