forked from mongodb-labs/mongo-perl-bson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
118 lines (109 loc) · 2.58 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
use strict;
use warnings;
use 5.010001;
use ExtUtils::MakeMaker 6.17;
my %WriteMakefileArgs = (
"ABSTRACT" => "BSON serialization and deserialization",
"AUTHOR" => "David Golden <david\@mongodb.com>, Stefan G. <minimalist\@lavabit.com>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.17"
},
"DISTNAME" => "BSON",
"LICENSE" => "apache",
"MIN_PERL_VERSION" => "5.010001",
"NAME" => "BSON",
"PREREQ_PM" => {
"B" => 0,
"Carp" => 0,
"Crypt::URandom" => 0,
"Exporter" => 0,
"List::Util" => 0,
"MIME::Base64" => 0,
"Math::BigFloat" => 0,
"Math::BigInt" => 0,
"Moo" => "2.002004",
"Scalar::Util" => 0,
"Sys::Hostname" => 0,
"Tie::IxHash" => 0,
"Time::HiRes" => 0,
"Time::Local" => 0,
"base" => 0,
"boolean" => "0.45",
"constant" => 0,
"if" => 0,
"mro" => 0,
"namespace::clean" => 0,
"overload" => 0,
"re" => 0,
"strict" => 0,
"threads::shared" => 0,
"version" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"Data::Dumper" => 0,
"Devel::Peek" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"JSON::MaybeXS" => 0,
"JSON::PP" => "2.97001",
"Path::Tiny" => "0.054",
"Test::Deep" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.96",
"lib" => 0,
"utf8" => 0
},
"VERSION" => "v1.10.3",
"test" => {
"TESTS" => "t/*.t t/common/*.t t/corpus/*.t t/legacy/*.t t/mapping/*.t t/regression/*.t"
}
);
my %FallbackPrereqs = (
"B" => 0,
"Carp" => 0,
"Crypt::URandom" => 0,
"Data::Dumper" => 0,
"Devel::Peek" => 0,
"Exporter" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"JSON::MaybeXS" => 0,
"JSON::PP" => "2.97001",
"List::Util" => 0,
"MIME::Base64" => 0,
"Math::BigFloat" => 0,
"Math::BigInt" => 0,
"Moo" => "2.002004",
"Path::Tiny" => "0.054",
"Scalar::Util" => 0,
"Sys::Hostname" => 0,
"Test::Deep" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.96",
"Tie::IxHash" => 0,
"Time::HiRes" => 0,
"Time::Local" => 0,
"base" => 0,
"boolean" => "0.45",
"constant" => 0,
"if" => 0,
"lib" => 0,
"mro" => 0,
"namespace::clean" => 0,
"overload" => 0,
"re" => 0,
"strict" => 0,
"threads::shared" => 0,
"utf8" => 0,
"version" => 0,
"warnings" => 0
);
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);