Oops. That last commit should've read "change numbers to names".
[gitmo/MooseX-Daemonize.git] / Makefile.PL
index bdfdcb3..d73a986 100644 (file)
@@ -1,18 +1,20 @@
-use inc::Module::Install;
-WriteMakefile(
-    NAME          => 'MooseX::Daemonize',
-    AUTHOR        => 'Chris Prather <perigrin@cpan.org>',
-    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;
+build_requires 'Test::Moose'  => 0;
+
+requires 'Moose'                      => 0.33;
+requires 'MooseX::Getopt'             => 0.07;
+requires 'MooseX::Types::Path::Class' => 0;
+
+no_index 'directory' => 'examples';
+
+auto_manifest;
+#auto_repository;
+WriteAll;