X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=2bb28b9d551efb0ec1b2d030133be97f135ca6e3;hb=5468e090435bd3cdba396ad5f3267a7478227339;hp=3bebaae1e94d05495f001c0cae94ff27fa46e359;hpb=394c3a465392be170c22d19d05bb76ad4618007f;p=p5sagit%2Fstrictures.git diff --git a/Makefile.PL b/Makefile.PL index 3bebaae..2bb28b9 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,9 +1,48 @@ +use strict; +use warnings FATAL => 'all'; use ExtUtils::MakeMaker; +(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; + WriteMakefile( NAME => 'strictures', VERSION_FROM => 'lib/strictures.pm', - ABSTRACT_FROM => 'lib/strictures.pm', - AUTHOR => do { local (@ARGV) = 'AUTHOR'; <> }, - LICENSE => 'perl', + MIN_PERL_VERSION => '5.006', + + META_MERGE => { + 'meta-spec' => { version => 2 }, + dynamic_config => 0, + + resources => { + # r/w: p5sagit@git.shadowcat.co.uk:strictures.git + repository => { + url => 'git://git.shadowcat.co.uk/p5sagit/strictures.git', + web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/strictures.git', + type => 'git', + }, + bugtracker => { + mailto => 'bug-strictures@rt.cpan.org', + web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=strictures', + }, + }, + + prereqs => { + runtime => { + recommends => { + indirect => 0, + multidimensional => 0, + 'bareword::filehandles' => 0, + }, + }, + }, + }, + + (eval { require ExtUtils::CBuilder; 1 } + and ExtUtils::CBuilder->new->have_compiler) + ? (PREREQ_PM => { + indirect => 0, + multidimensional => 0, + 'bareword::filehandles' => 0, + }) + : (), );