X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=be4c23d629419ffc0ed0ed3666cff044a728604d;hb=343eb543bb4b21576a725d55e4d94192a4e4b52b;hp=bdfdcb341f59b341773a9529bb65743fd382c779;hpb=a49526793f4ad674abfd7670f4c6a0de9b6df265;p=gitmo%2FMooseX-Daemonize.git diff --git a/Makefile.PL b/Makefile.PL index bdfdcb3..be4c23d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,18 +1,18 @@ -use inc::Module::Install; -WriteMakefile( - NAME => 'MooseX::Daemonize', - AUTHOR => 'Chris Prather ', - VERSION_FROM => 'lib/MooseX/Daemonize.pm', - ABSTRACT_FROM => 'lib/MooseX/Daemonize.pm', - PL_FILES => {}, - PREREQ_PM => { - 'Test::More' => 0, - 'Proc::Daemon' => 0, - 'Carp' => 0, - 'File::Flock' => 0, - 'File::Slurp' => 0, - 'Moose' => 0.20, - }, - dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, - clean => { FILES => 'MooseX-Daemonize-*' }, -); +# Load the Module::Install bundled in ./inc/ +use inc::Module::Install 0.75; + +# Define metadata +name 'MooseX-Daemonize'; +all_from 'lib/MooseX/Daemonize.pm'; + +# Specific dependencies +build_requires 'Test::More' => 0; + +requires 'Moose' => 0.33; +requires 'MooseX::Getopt' => 0.07; +requires 'MooseX::Types::Path::Class' => 0; + +no_index 'directory' => 'examples'; + +auto_install; +WriteAll;