X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=2ff04b9392339dff0d52a8b9c67157b07c19215d;hb=6497bc6cd7bbefe0d08137d5c952c81423a2fb15;hp=6be1ce8535aa5d816c2ef73b4890217b502f70c9;hpb=5ef4ffe7ced48716152998d3bacc801a3800ce2a;p=gitmo%2FRole-Tiny.git diff --git a/Makefile.PL b/Makefile.PL index 6be1ce8..2ff04b9 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,6 +1,6 @@ use strict; use warnings FATAL => 'all'; -use 5.008001; +use 5.006; use ExtUtils::MakeMaker; (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; @@ -13,11 +13,31 @@ my %BUILD_DEPS = ( my $mymeta_works = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5707 }; WriteMakefile( - NAME => 'Role-Tiny', + NAME => 'Role::Tiny', VERSION_FROM => 'lib/Role/Tiny.pm', PREREQ_PM => { + Exporter => '5.57', ($] >= 5.010 ? () : ('MRO::Compat' => 0)), ($mymeta_works ? () : (%BUILD_DEPS)), }, $mymeta_works ? (BUILD_REQUIRES => \%BUILD_DEPS) : (), + + -f 'META.yml' ? () : (META_MERGE => { + 'meta-spec' => { version => 2 }, + no_index => { + directory => [ 'xt' ] + }, + resources => { + # r/w: gitmo@git.shadowcat.co.uk:Role-Tiny.git + repository => { + url => 'git://git.shadowcat.co.uk/gitmo/Role-Tiny.git', + web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Role-Tiny.git', + type => 'git', + }, + bugtracker => { + mailto => 'bug-Role-Tiny@rt.cpan.org', + web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Role-Tiny', + }, + }, + }), );