X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=0769a633b05faffa29c1a83fd6b07c2c1a39fb8c;hb=321c9c2e54cc07be0547910f1483d5a6ca715af2;hp=9ced0d06acb745f4a74342554eb7d9157648971d;hpb=2915a1fbfa9e705c311c6abcf0c3f14fc47223e0;p=p5sagit%2FSafe-Isa.git diff --git a/Makefile.PL b/Makefile.PL index 9ced0d0..0769a63 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,19 +8,30 @@ WriteMakefile( NAME => 'Safe::Isa', VERSION_FROM => 'lib/Safe/Isa.pm', - META_MERGE => { - 'meta-spec' => { version => 2 }, - dynamic_config => 0, + MIN_PERL_VERSION => '5.006', - resources => { - # r/w: p5sagit@git.shadowcat.co.uk:Safe-Isa.git - repository => 'git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git', - homepage => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git', - }, + PREREQ_PM => { + 'Exporter' => '5.57', + 'Scalar::Util' => 0, + }, - PREREQ_PM => { - 'Exporter' => 0, - 'Scalar::Util' => 0, + -f 'META.yml' ? () : ( + META_MERGE => { + 'meta-spec' => { version => 2 }, + dynamic_config => 0, + + resources => { + # r/w: p5sagit@git.shadowcat.co.uk:Safe-Isa.git + repository => { + url => 'git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git', + web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git', + type => 'git', + }, + bugtracker => { + mailto => 'bug-Safe-Isa@rt.cpan.org', + web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Safe-Isa', + }, + }, }, - }, + ), );