1use 5.006;
2use strict;
3use warnings FATAL => 'all';
4use ExtUtils::MakeMaker;
5
6WriteMakefile(
7    NAME             => 'LWP::Authen::OAuth2',
8    AUTHOR           => q{Ben Tilly <btilly@gmail.com>},
9    VERSION_FROM     => 'lib/LWP/Authen/OAuth2.pm',
10    ABSTRACT_FROM    => 'lib/LWP/Authen/OAuth2.pm',
11    LICENSE          => 'artistic_2',
12    PL_FILES         => {},
13    MIN_PERL_VERSION => 5.006,
14    CONFIGURE_REQUIRES => {
15        'ExtUtils::MakeMaker' => 0,
16    },
17    BUILD_REQUIRES => {
18        'Test::More' => 0,
19    },
20    PREREQ_PM => {
21        'LWP'               => 4.0,
22        'LWP::Protocol::https' => 6.0,
23        'Mozilla::CA'       => 20000101,
24        'JSON'              => 2,
25        'Module::Load'      => 0,
26    },
27    dist  => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
28    clean => { FILES => 'LWP-Authen-OAuth2-*' },
29	test => { TESTS => "t/*.t t/LWP/Authen/*.t t/LWP/Authen/OAuth2/*.t t/LWP/Authen/OAuth2/ServiceProvider/*.t t/LWP/Authen/OAuth2/ServiceProvider/Line/*.t t/LWP/Authen/OAuth2/AccessToken/*.t" },
30    (eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (META_MERGE => {
31    'meta-spec' => { version => 2 },
32     resources => {
33         repository => {
34             type => 'git',
35             url  => 'https://github.com/domm/perl-oauth2.git',
36             web  => 'https://github.com/domm/perl-oauth2',
37         },
38     }})
39     : ()
40),
41);
42