-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile.PL
82 lines (67 loc) · 1.88 KB
/
Makefile.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.017.
use strict;
use warnings;
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "Encapsulate system info for OpenMP",
"AUTHOR" => "oodler <oodler\@cpan.org>",
"BUILD_REQUIRES" => {
"Alien::Build" => "0.32",
"Alien::Build::MM" => "0.32",
"ExtUtils::MakeMaker" => "6.52"
},
"CONFIGURE_REQUIRES" => {
"Alien::Build" => "1.40",
"Alien::Build::MM" => "0.32",
"ExtUtils::CBuilder" => 0,
"ExtUtils::MakeMaker" => "6.52"
},
"DISTNAME" => "Alien-OpenMP",
"LICENSE" => "perl",
"NAME" => "Alien::OpenMP",
"PREREQ_PM" => {},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.52",
"File::Spec" => 0,
"Test::More" => 0,
"Test::Needs" => 0
},
"VERSION" => "0.003007",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Alien::Build" => "0.32",
"Alien::Build::MM" => "0.32",
"ExtUtils::MakeMaker" => "6.52",
"File::Spec" => 0,
"Test::More" => 0,
"Test::Needs" => 0
);
# BEGIN code inserted by Dist::Zilla::Plugin::AlienBuild
use Alien::Build::MM;
my $abmm = Alien::Build::MM->new;
%WriteMakefileArgs = $abmm->mm_args(%WriteMakefileArgs);
# END code inserted by Dist::Zilla::Plugin::AlienBuild
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);
# BEGIN code inserted by Dist::Zilla::Plugin::AlienBuild
{ package
MY;
sub postamble {
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild