X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=c4a97d8272478f41ca220c8638a88c3518d2e0ca;hb=master;hp=68ca87ffee4302baf8405a2ee3daaee549df5dae;hpb=b4e84716a0988656a576414ff478facb32d6a6da;p=p5sagit%2FApp-FatPacker.git diff --git a/Makefile.PL b/Makefile.PL index 68ca87f..c4a97d8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,7 +2,9 @@ use strict; use warnings FATAL => 'all'; use ExtUtils::MakeMaker; -(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; +use 5.008000; + +(do './maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; WriteMakefile( NAME => 'App::FatPacker', @@ -27,9 +29,29 @@ WriteMakefile( web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=App-FatPacker', }, }, - requires => { - # B::perlstring was added in 5.8.0 - perl => '5.008000', + prereqs => { + runtime => { + requires => { + # B::perlstring was added in B 1.01 (perl 5.8.0) + perl => '5.008000', + 'B' => '1.01', + 'Cwd' => '0', + 'File::Copy' => '0', + 'File::Find' => '0', + 'File::Path' => '0', + 'File::Spec::Functions' => '0', + 'File::Spec::Unix' => '0', + 'Getopt::Long' => '0', + }, + }, + test => { + requires => { + 'File::Basename' => '0', + 'File::Spec' => '0', + 'File::Temp' => '0', + 'Test::More' => '0.82', + }, + }, }, }, );