fix typo in version
[gitmo/Role-Tiny.git] / Makefile.PL
CommitLineData
6d71fae7 1use strict;
2use warnings FATAL => 'all';
cde4d060 3use 5.006;
6d71fae7 4use ExtUtils::MakeMaker;
253d7c99 5(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
6d71fae7 6
bb6d1b87 7my %BUILD_DEPS = (
8 'Test::More' => 0.96,
9 'Test::Fatal' => 0.003,
10);
11
bb6d1b87 12# have to do this since old EUMM dev releases miss the eval $VERSION line
13my $mymeta_works = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5707 };
bb6d1b87 14
6d71fae7 15WriteMakefile(
5daa18da 16 NAME => 'Role::Tiny',
5ef4ffe7 17 VERSION_FROM => 'lib/Role/Tiny.pm',
bb6d1b87 18 PREREQ_PM => {
cc15434f 19 Exporter => '5.57',
bb6d1b87 20 ($] >= 5.010 ? () : ('MRO::Compat' => 0)),
21 ($mymeta_works ? () : (%BUILD_DEPS)),
22 },
5ef4ffe7 23 $mymeta_works ? (BUILD_REQUIRES => \%BUILD_DEPS) : (),
5f5db57f 24
6497bc6c 25 -f 'META.yml' ? () : (META_MERGE => {
7a3129f7 26 'meta-spec' => { version => 2 },
77fce1af 27 no_index => {
28 directory => [ 'xt' ]
6497bc6c 29 },
30 resources => {
31 # r/w: gitmo@git.shadowcat.co.uk:Role-Tiny.git
32 repository => {
33 url => 'git://git.shadowcat.co.uk/gitmo/Role-Tiny.git',
34 web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Role-Tiny.git',
35 type => 'git',
36 },
37 bugtracker => {
38 mailto => 'bug-Role-Tiny@rt.cpan.org',
39 web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Role-Tiny',
40 },
41 },
42 }),
6d71fae7 43);