X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=7acfffd233e4f38074147a1ac4cea142fad53ed5;hb=8a4b7cfc5813b23899dd8d65eb09c1ad12f09843;hp=bdfdcb341f59b341773a9529bb65743fd382c779;hpb=a49526793f4ad674abfd7670f4c6a0de9b6df265;p=gitmo%2FMooseX-Daemonize.git diff --git a/Makefile.PL b/Makefile.PL index bdfdcb3..7acfffd 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,18 +1,17 @@ +# Load the Module::Install bundled in ./inc/ 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-*' }, -); + +# Define metadata +name 'MooseX-Daemonize'; +all_from 'lib/MooseX/Daemonize.pm'; + +# Specific dependencies +build_requires 'Test::More' => 0; + +requires 'MooseX::Getopt' => 0; +requires 'Moose' => 0.20; + +no_index 'directory' => 'examples'; + +auto_install; +WriteAll;