fixed perl filtering
[scpubgit/System-Introspector.git] / Makefile.PL
index 3f768cb..35aab3f 100644 (file)
@@ -21,18 +21,21 @@ my %requires = (
     'Digest::SHA'               => 0,
     'strictures'                => 1,
     'IPC::Run'                  => 0,
-)
+    'Capture::Tiny'             => 0,
+    'File::Tree::Snapshot'      => 0,
+    'Object::Remote'            => 0,
+    'JSON::Diffable'            => 0,
+);
 
 # have to do this since old EUMM dev releases miss the eval $VERSION line
 my $mymeta_works = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5707 };
 my $mymeta = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5702 };
 
 WriteMakefile(
-  NAME => 'File-Tree-Snapshot',
-  VERSION_FROM => 'lib/File/Tree/Snapshot.pm',
+  NAME => 'System-Introspector',
+  VERSION_FROM => 'lib/System/Introspector.pm',
   PREREQ_PM => {
     %requires,
-    ($] >= 5.010 ? () : ('MRO::Compat' => 0)),
     ($mymeta_works ? () : (%build_requires)),
   },
   ($mymeta_works
@@ -49,4 +52,5 @@ WriteMakefile(
   ),
   ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()),
   LICENSE => 'perl',
+  EXE_FILES => ['bin/system-introspector'],
 );;