More prereqs
[p5sagit/Devel-Size.git] / Makefile.PL
index e2dce20..6633431 100644 (file)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-use 5.008;
+use 5.005;
 use ExtUtils::MakeMaker;
 use strict;
 
@@ -9,9 +9,19 @@ use Config;
 my $ptr_bits = length $1;
 
 WriteMakefile(
-             NAME => 'Devel::Size',
-             VERSION_FROM => 'lib/Devel/Size.pm',
-             DEFINE => "-DALIGN_BITS=$ptr_bits",
-             (eval $ExtUtils::MakeMaker::VERSION >= 6.47 ? (MIN_PERL_VERSION => '5.008') : ()),
-             (eval $ExtUtils::MakeMaker::VERSION >= 6.31 ? (LICENSE => 'perl') : ()),
+    OPTIMIZE => "-g",
+    NAME => 'Devel::Memory',
+    VERSION_FROM => 'lib/Devel/Memory.pm',
+    DEFINE => "-DALIGN_BITS=$ptr_bits",
+    PREREQ_PM => {
+        'Test::More' => 0,
+        'JSON::XS' => 0,
+        'HTML::Entities' => 0,
+        'Mojolicious::Lite' => 0,
+        'Devel::Dwarn' => 0,
+        XSLoader => 0,
+    },
+    EXE_FILES => [ 'bin/dmemtree.pl' ],
+    (eval $ExtUtils::MakeMaker::VERSION >= 6.47 ? (MIN_PERL_VERSION => '5.005') : ()),
+    (eval $ExtUtils::MakeMaker::VERSION >= 6.31 ? (LICENSE => 'perl') : ()),
 );