diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2021-02-07 01:50:18 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2021-02-07 01:50:18 +1300 |
commit | e7a405464cd8102314c94b8984d509c4029792d6 (patch) | |
tree | dc352abee450425bc878a1ef485a8f7a1852a90b /Makefile.PL | |
download | POE-Component-Client-WebSocket-e7a405464cd8102314c94b8984d509c4029792d6.tar.gz POE-Component-Client-WebSocket-e7a405464cd8102314c94b8984d509c4029792d6.zip |
Commit v0.27 as found on CPANv0.27
I couldn't find the upstream for this; if I can get in contact with the
author, I'll re-patch my work over the top.
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..5f0f02f --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,52 @@ +use 5.006; +use strict; +use warnings; +use ExtUtils::MakeMaker; + +my %WriteMakefileArgs = ( + "NAME" => 'POE::Component::Client::WebSocket', + "AUTHOR" => q{Paul G Webster <daemon@cpan.org>}, + "MIN_PERL_VERSION" => "5.006", + "ABSTRACT" => "A simplistic websocket client for use in POE applications.", + "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => 0 }, + "DISTNAME" => "POE-Component-Client-WebSocket", + "LICENSE" => "artistic_2", + "PREREQ_PM" => { + "POE" => 0, + "POE::Filter::SSL" => 0, + "POE::Filter::HTTP::Parser" => 0, + "POE::Filter::Stackable" => 0, + "URI" => 0, + "MIME::Base64" => 0, + "Protocol::WebSocket::Frame" => 0, + }, + TEST_REQUIRES => { + 'Test::More' => 0, + }, + VERSION_FROM => 'lib/POE/Component/Client/WebSocket.pm', + "test" => { + "TESTS" => "t/*.t" + } +); + +my %FallbackPrereqs = ( + "POE" => 0, + "POE::Filter::SSL" => 0, + "POE::Filter::HTTP::Parser" => 0, + "POE::Filter::Stackable" => 0, + "URI" => 0, + "MIME::Base64" => 0, + "Protocol::WebSocket::Frame" => 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); + |