X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=9eeb66edec32236e9a413a20a2293138e50ef82b;hb=07f2ae08782c7479f4558e8be6673eed4ce7f619;hp=4277a812042934f938e6c7ab8cf905439f96e6c6;hpb=25ed65974d20941225a9b6d50ca0fa00788dc73a;p=p5sagit%2FApp-FatPacker.git diff --git a/Makefile.PL b/Makefile.PL index 4277a81..9eeb66e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,13 +1,58 @@ use strict; use warnings FATAL => 'all'; -use inc::Module::Install 0.93; +use ExtUtils::MakeMaker; -all_from('lib/App/FatPacker.pm'); +use 5.008000; -install_script('bin/fatpack'); +(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; -resources( - repository => "git://git.shadowcat.co.uk/p5sagit/App-FatPacker.git", -); +WriteMakefile( + NAME => 'App::FatPacker', + VERSION_FROM => 'lib/App/FatPacker.pm', + + EXE_FILES => [ + 'bin/fatpack', + ], -WriteAll; + META_MERGE => { + 'meta-spec' => { version => '2' }, + dynamic_config => 0, + x_static_install => 1, + resources => { + # r/w: p5sagit@git.shadowcat.co.uk:App-FatPacker.git + repository => { + url => 'git://git.shadowcat.co.uk/p5sagit/App-FatPacker.git', + web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/App-FatPacker.git', + type => 'git', + }, + bugtracker => { + mailto => 'bug-App-FatPacker-Metadata@rt.cpan.org', + web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=App-FatPacker', + }, + }, + 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', + }, + }, + }, + }, +);