forked from marcusramberg/Mojolicious-Plugin-OAuth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
47 lines (39 loc) · 1.41 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
#!/usr/bin/env perl
use 5.008007;
use strict;
use warnings;
# Son, when you participate in sporting events,
# it's not whether you win or lose, it's how drunk you get.
use ExtUtils::MakeMaker;
my ($mm) = $ExtUtils::MakeMaker::VERSION =~ /^([^_]+)/;
# We only use core modules, so you shouldn't have to install anything besides
# Perl 5.8.7!
WriteMakefile(
NAME => 'Mojolicious::Plugin::OAuth2',
VERSION_FROM => 'lib/Mojolicious/Plugin/OAuth2.pm',
ABSTRACT => 'Authenticate against OAuth2 providers',
AUTHOR => 'Marcus Ramberg <[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/marcusramberg/mojolicious-plugin-oauth2',
bugtracker => 'http://github.com/marcusramberg/mojolicious-plugin-oauth2/issues'
},
no_index => {directory => [qw/t/]}
},
META_ADD => {
build_requires => {},
configure_requires => {}
},
)
),
PREREQ_PM => {
'Mojolicious' => '1.64',
'IO::Socket::SSL' => 0,
},
test => {TESTS => 't/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t'}
);