This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Incorporate changes from CPAN release of ExtUtils-CBuilder
[perl5.git] / dist / ExtUtils-CBuilder / Makefile.PL
1
2 # This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.013.
3 use strict;
4 use warnings;
5
6
7
8 use ExtUtils::MakeMaker 6.30;
9
10
11
12 my %WriteMakefileArgs = (
13   "ABSTRACT" => "Compile and link C code for Perl modules",
14   "AUTHOR" => "Ken Williams <kwilliams\@cpan.org>, The Perl 5 Porters",
15   "BUILD_REQUIRES" => {},
16   "CONFIGURE_REQUIRES" => {
17     "ExtUtils::MakeMaker" => "6.30"
18   },
19   "DISTNAME" => "ExtUtils-CBuilder",
20   "EXE_FILES" => [],
21   "LICENSE" => "perl",
22   "NAME" => "ExtUtils::CBuilder",
23   "PREREQ_PM" => {
24     "Cwd" => 0,
25     "ExtUtils::MakeMaker" => "6.30",
26     "File::Basename" => 0,
27     "File::Spec" => "3.13",
28     "File::Temp" => 0,
29     "IO::File" => 0,
30     "IPC::Cmd" => 0,
31     "Perl::OSType" => 1,
32     "Text::ParseWords" => 0
33   },
34   "TEST_REQUIRES" => {
35     "Test::More" => "0.47"
36   },
37   "VERSION" => "0.280216",
38   "test" => {
39     "TESTS" => "t/*.t"
40   }
41 );
42
43
44 my %FallbackPrereqs = (
45   "Cwd" => 0,
46   "ExtUtils::MakeMaker" => "6.30",
47   "File::Basename" => 0,
48   "File::Spec" => "3.13",
49   "File::Temp" => 0,
50   "IO::File" => 0,
51   "IPC::Cmd" => 0,
52   "Perl::OSType" => 1,
53   "Test::More" => "0.47",
54   "Text::ParseWords" => 0
55 );
56
57
58 unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
59   delete $WriteMakefileArgs{TEST_REQUIRES};
60   delete $WriteMakefileArgs{BUILD_REQUIRES};
61   $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
62 }
63
64 delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
65   unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
66
67 $WriteMakefileArgs{INSTALLDIRS} = 'perl'
68     if $] >= 5.009005 && $] <= 5.011000;
69
70 WriteMakefile(%WriteMakefileArgs);
71
72
73