X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FApp-FatPacker.git;a=blobdiff_plain;f=Makefile.PL;h=f5c64f9cd2468e80730cb291d24ede34a6ae516a;hp=3797a6da6e9efab18a5279d753450c07c8e1eeb1;hb=bedd77c65682815723b5972a79624c91bde6ad42;hpb=d04938c546a686e5330b76e2874d4555d9bfcc4e diff --git a/Makefile.PL b/Makefile.PL index 3797a6d..f5c64f9 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,15 +1,57 @@ 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( - # r/w: p5sagit@git.shadowcat.co.uk:App-FatPacker.git - repository => "git://git.shadowcat.co.uk/p5sagit/App-FatPacker.git", - homepage => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=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, + 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', + }, + }, + }, + }, +);