-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathBuild.PL
112 lines (101 loc) · 2.76 KB
/
Build.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
# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.020.
use strict;
use warnings;
use Module::Build 0.28;
my %module_build_args = (
"build_requires" => {
"Module::Build" => "0.28"
},
"configure_requires" => {
"ExtUtils::MakeMaker" => 0,
"Module::Build" => "0.28"
},
"dist_abstract" => "the asynchronous, non-blocking shadowsocks client and server. ",
"dist_author" => [
"Li ZHOU <lzh\@cpan.org>"
],
"dist_name" => "Net-Shadowsocks",
"dist_version" => "0.9.3.4",
"license" => "artistic_2",
"module_name" => "Net::Shadowsocks",
"recursive_test_files" => 1,
"requires" => {
"AnyEvent" => "4.45",
"AnyEvent::Handle" => 0,
"AnyEvent::Log" => 0,
"AnyEvent::Socket" => 0,
"Carp" => 0,
"Crypt::AuthEnc::GCM" => 0,
"Crypt::Cipher::AES" => 0,
"Crypt::Cipher::Camellia" => 0,
"Crypt::Cipher::RC6" => 0,
"Crypt::KeyDerivation" => 0,
"Crypt::Mode::CFB" => 0,
"Crypt::Mode::CTR" => 0,
"Crypt::Mode::OFB" => 0,
"Crypt::PRNG" => 0,
"Crypt::RC4::XS" => "0.02",
"Crypt::Spritz" => "1.02",
"Digest::MD5" => "2.55",
"Getopt::Std" => 0,
"IO::Socket::Socks" => "0.73",
"JSON" => "2.90",
"Socket" => "2.021",
"perl" => "5.006",
"strict" => 0,
"warnings" => 0
},
"script_files" => [
"bin/ssclient.pl",
"bin/ssserver.pl"
],
"test_requires" => {
"Alien::Base::ModuleBuild" => "1.00",
"AnyEvent" => "4.45",
"Crypt::NaCl::Sodium" => "v1.0.6",
"Crypt::RC4::XS" => "0.02",
"Crypt::Spritz" => "1.02",
"CryptX" => "0.070",
"Digest::MD5" => "2.55",
"ExtUtils::MakeMaker" => "6.3",
"File::Spec" => 0,
"IO::Handle" => 0,
"IO::Socket::Socks" => "0.73",
"IPC::Open3" => 0,
"JSON" => "2.90",
"Pod::Coverage::TrustPod" => 0,
"Socket" => "2.021",
"Test::CPAN::Meta" => 0,
"Test::CheckDeps" => "0.010",
"Test::More" => "0.94",
"Test::Pod::Coverage" => 0
}
);
my %fallback_build_requires = (
"Alien::Base::ModuleBuild" => "1.00",
"AnyEvent" => "4.45",
"Crypt::NaCl::Sodium" => "v1.0.6",
"Crypt::RC4::XS" => "0.02",
"Crypt::Spritz" => "1.02",
"CryptX" => "0.070",
"Digest::MD5" => "2.55",
"ExtUtils::MakeMaker" => "6.3",
"File::Spec" => 0,
"IO::Handle" => 0,
"IO::Socket::Socks" => "0.73",
"IPC::Open3" => 0,
"JSON" => "2.90",
"Module::Build" => "0.28",
"Pod::Coverage::TrustPod" => 0,
"Socket" => "2.021",
"Test::CPAN::Meta" => 0,
"Test::CheckDeps" => "0.010",
"Test::More" => "0.94",
"Test::Pod::Coverage" => 0
);
unless ( eval { Module::Build->VERSION(0.4004) } ) {
delete $module_build_args{test_requires};
$module_build_args{build_requires} = \%fallback_build_requires;
}
my $build = Module::Build->new(%module_build_args);
$build->create_build_script;