Browse Subversion Repository
Contents of /Build.PL
Parent Directory
| Revision Log
Revision 1 -
( show annotations)
( download)
( as text)
Fri Feb 17 15:07:22 2017 UTC
(7 years ago)
by zhou
File MIME type: text/x-perl
File size: 2082 byte(s)
first commit
| 1 |
|
| 2 |
# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.008. |
| 3 |
use strict; |
| 4 |
use warnings; |
| 5 |
|
| 6 |
use Module::Build 0.28; |
| 7 |
|
| 8 |
|
| 9 |
my %module_build_args = ( |
| 10 |
"build_requires" => { |
| 11 |
"Module::Build" => "0.28" |
| 12 |
}, |
| 13 |
"configure_requires" => { |
| 14 |
"ExtUtils::MakeMaker" => 0, |
| 15 |
"Module::Build" => "0.28" |
| 16 |
}, |
| 17 |
"dist_abstract" => "the asynchronous, non-blocking shadowsocks client and server. ", |
| 18 |
"dist_author" => [ |
| 19 |
"Li ZHOU <lzh\@cpan.org>" |
| 20 |
], |
| 21 |
"dist_name" => "Net-Shadowsocks", |
| 22 |
"dist_version" => "0.8.1", |
| 23 |
"license" => "perl", |
| 24 |
"module_name" => "Net::Shadowsocks", |
| 25 |
"recursive_test_files" => 1, |
| 26 |
"requires" => { |
| 27 |
"AnyEvent" => "4.45", |
| 28 |
"AnyEvent::Handle" => 0, |
| 29 |
"AnyEvent::Log" => 0, |
| 30 |
"AnyEvent::Socket" => 0, |
| 31 |
"Carp" => 0, |
| 32 |
"Crypt::Cipher::AES" => 0, |
| 33 |
"Crypt::Cipher::Camellia" => 0, |
| 34 |
"Crypt::Cipher::RC6" => 0, |
| 35 |
"Crypt::Mode::CBC" => 0, |
| 36 |
"Crypt::Mode::CFB" => 0, |
| 37 |
"Crypt::Mode::CTR" => 0, |
| 38 |
"Crypt::Mode::OFB" => 0, |
| 39 |
"Crypt::NaCl::Sodium" => "v1.0.8.0", |
| 40 |
"Crypt::Random" => "1.25", |
| 41 |
"Digest::MD5" => "2.55", |
| 42 |
"Digest::SHA" => "5.96", |
| 43 |
"Getopt::Std" => 0, |
| 44 |
"IO::Socket::Socks" => "0.73", |
| 45 |
"JSON" => "2.90", |
| 46 |
"Mcrypt" => "v2.5.7.0", |
| 47 |
"Socket" => "2.021", |
| 48 |
"perl" => "5.006", |
| 49 |
"strict" => 0, |
| 50 |
"warnings" => 0 |
| 51 |
}, |
| 52 |
"script_files" => [ |
| 53 |
"bin/ssclient.pl", |
| 54 |
"bin/ssserver.pl" |
| 55 |
], |
| 56 |
"test_requires" => { |
| 57 |
"ExtUtils::MakeMaker" => 0, |
| 58 |
"File::Spec" => 0, |
| 59 |
"IO::Handle" => 0, |
| 60 |
"IPC::Open3" => 0, |
| 61 |
"Test::CheckDeps" => "0.010", |
| 62 |
"Test::More" => "0.94", |
| 63 |
"blib" => "1.01" |
| 64 |
} |
| 65 |
); |
| 66 |
|
| 67 |
|
| 68 |
my %fallback_build_requires = ( |
| 69 |
"ExtUtils::MakeMaker" => 0, |
| 70 |
"File::Spec" => 0, |
| 71 |
"IO::Handle" => 0, |
| 72 |
"IPC::Open3" => 0, |
| 73 |
"Module::Build" => "0.28", |
| 74 |
"Test::CheckDeps" => "0.010", |
| 75 |
"Test::More" => "0.94", |
| 76 |
"blib" => "1.01" |
| 77 |
); |
| 78 |
|
| 79 |
|
| 80 |
unless ( eval { Module::Build->VERSION(0.4004) } ) { |
| 81 |
delete $module_build_args{test_requires}; |
| 82 |
$module_build_args{build_requires} = \%fallback_build_requires; |
| 83 |
} |
| 84 |
|
| 85 |
my $build = Module::Build->new(%module_build_args); |
| 86 |
|
| 87 |
|
| 88 |
$build->create_build_script; |
| |