forked from vti/plack-middleware-socketio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.PL
49 lines (41 loc) · 1.35 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
#!/usr/bin/env perl
use 5.008007;
use strict;
use warnings;
use ExtUtils::MakeMaker;
my ($mm) = $ExtUtils::MakeMaker::VERSION =~ /^([^_]+)/;
WriteMakefile(
NAME => 'Plack::Middleware::SocketIO',
VERSION_FROM => 'lib/Plack/Middleware/SocketIO.pm',
ABSTRACT => 'Socket.IO Plack middleware',
AUTHOR => 'Viacheslav Tykhanovskyi <[email protected]>',
($mm < 6.3002 ? () : ('LICENSE' => 'artistic_2')),
( $mm < 6.46
? ()
: ( META_MERGE => {
requires => {perl => '5.008007'},
resources => {
license => 'http://dev.perl.org/licenses/',
repository =>
'http://github.com/vti/plack-middleware-socketio',
bugtracker =>
'http://github.com/vti/plack-middleware-socketio/issues'
},
no_index => {directory => [qw/t/]}
},
META_ADD => {
build_requires => {},
configure_requires => {}
},
)
),
PREREQ_PM => {
'AnyEvent' => 0,
'JSON' => 0,
'Plack' => 0,
'Protocol::WebSocket' => 0.009001,
'Scalar::Util' => 0,
'Try::Tiny' => 0
},
test => {TESTS => 't/*.t t/*/*.t'}
);