File Coverage

Makefile.PL
Criterion Covered Total %
statement n/a
branch n/a
condition n/a
subroutine n/a
pod n/a
total n/a


line stmt bran cond sub pod time code
1             # This Makefile.PL for Alien-OpenMP was generated by
2             # Dist::Zilla::Plugin::MakeMaker::Awesome 0.49.
3             # Don't edit it but the dist.ini and plugins used to construct it.
4              
5             use strict;
6             use warnings;
7              
8             use ExtUtils::MakeMaker;
9              
10             my %WriteMakefileArgs = (
11             "ABSTRACT" => "Encapsulate system info for OpenMP",
12             "AUTHOR" => "oodler ",
13             "BUILD_REQUIRES" => {
14             "Alien::Build" => "0.32",
15             "Alien::Build::MM" => "0.32",
16             "ExtUtils::MakeMaker" => "6.52"
17             },
18             "CONFIGURE_REQUIRES" => {
19             "Alien::Build" => "1.40",
20             "Alien::Build::MM" => "0.32",
21             "ExtUtils::CBuilder" => 0,
22             "ExtUtils::MakeMaker" => "6.52"
23             },
24             "DISTNAME" => "Alien-OpenMP",
25             "LICENSE" => "perl",
26             "NAME" => "Alien::OpenMP",
27             "PREREQ_PM" => {
28             "Inline::C" => "0.62"
29             },
30             "TEST_REQUIRES" => {
31             "Test::Needs" => 0
32             },
33             "VERSION" => "0.3.8",
34             "test" => {
35             "TESTS" => "t/*.t"
36             }
37             );
38              
39             my %FallbackPrereqs = (
40             "Alien::Build" => "0.32",
41             "Alien::Build::MM" => "0.32",
42             "ExtUtils::MakeMaker" => "6.52",
43             "Inline::C" => "0.62",
44             "Test::Needs" => 0
45             );
46              
47             # BEGIN code inserted by Dist::Zilla::Plugin::AlienBuild
48             use Alien::Build::MM;
49             my $abmm = Alien::Build::MM->new;
50             %WriteMakefileArgs = $abmm->mm_args(%WriteMakefileArgs);
51             # END code inserted by Dist::Zilla::Plugin::AlienBuild
52              
53             unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
54             delete $WriteMakefileArgs{TEST_REQUIRES};
55             delete $WriteMakefileArgs{BUILD_REQUIRES};
56             $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
57             }
58              
59             delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
60             unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
61              
62             WriteMakefile(%WriteMakefileArgs);
63              
64             # BEGIN postamble code inserted by Dist::Zilla::Plugin::AlienBuild
65             { package
66             MY;
67             sub postamble {
68             $abmm->mm_postamble(@_);
69             }
70             sub install {
71             $abmm->can('mm_install')
72             ? $abmm->mm_install(@_)
73             : shift->SUPER::install(@_);
74             }
75             }
76             # END postamble code inserted by Dist::Zilla::Plugin::AlienBuild