forked from plack/Plack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
93 lines (78 loc) · 2.42 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
use strict;
use warnings;
use 5.008001;
use ExtUtils::MakeMaker 6.30;
use File::ShareDir::Install;
install_share dist => "share";
my %WriteMakefileArgs = (
"ABSTRACT" => "Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)",
"AUTHOR" => "Tatsuhiko Miyagawa",
"BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30",
"File::ShareDir::Install" => "0.03"
},
"DISTNAME" => "Plack",
"EXE_FILES" => [
"script/plackup"
],
"LICENSE" => "perl",
"NAME" => "Plack",
"PREREQ_PM" => {
"Apache::LogFormat::Compiler" => "0.12",
"Devel::StackTrace" => "1.23",
"Devel::StackTrace::AsHTML" => "0.11",
"File::ShareDir" => "1.00",
"Filesys::Notify::Simple" => 0,
"HTTP::Body" => "1.06",
"HTTP::Message" => "5.814",
"HTTP::Tiny" => "0.034",
"Hash::MultiValue" => "0.05",
"Pod::Usage" => "1.36",
"Stream::Buffered" => "0.02",
"Test::TCP" => "2.00",
"Try::Tiny" => 0,
"URI" => "1.59",
"parent" => 0
},
"TEST_REQUIRES" => {
"Test::More" => "0.88",
"Test::Requires" => 0
},
"VERSION" => "1.0030",
"test" => {
"TESTS" => "t/*.t t/HTTP-Message-PSGI/*.t t/HTTP-Server-PSGI/*.t t/Plack-Builder/*.t t/Plack-HTTPParser-PP/*.t t/Plack-Handler/*.t t/Plack-Loader/*.t t/Plack-MIME/*.t t/Plack-Middleware/*.t t/Plack-Middleware/cascade/*.t t/Plack-Middleware/recursive/*.t t/Plack-Middleware/stacktrace/*.t t/Plack-Request/*.t t/Plack-Response/*.t t/Plack-Runner/*.t t/Plack-TempBuffer/*.t t/Plack-Test/*.t t/Plack-Util/*.t"
}
);
my %FallbackPrereqs = (
"Apache::LogFormat::Compiler" => "0.12",
"Devel::StackTrace" => "1.23",
"Devel::StackTrace::AsHTML" => "0.11",
"File::ShareDir" => "1.00",
"Filesys::Notify::Simple" => 0,
"HTTP::Body" => "1.06",
"HTTP::Message" => "5.814",
"HTTP::Tiny" => "0.034",
"Hash::MultiValue" => "0.05",
"Pod::Usage" => "1.36",
"Stream::Buffered" => "0.02",
"Test::More" => "0.88",
"Test::Requires" => 0,
"Test::TCP" => "2.00",
"Try::Tiny" => 0,
"URI" => "1.59",
"parent" => 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);
{
package
MY;
use File::ShareDir::Install qw(postamble);
}