Get rid of core XS dependencies
[p5sagit/Module-Metadata.git] / Makefile.PL
index 8cc8648..50c0fab 100644 (file)
@@ -1,3 +1,4 @@
+use 5.006;
 use strict;
 use warnings FATAL => 'all';
 use ExtUtils::MakeMaker;
@@ -7,6 +8,8 @@ use ExtUtils::MakeMaker;
 WriteMakefile(
   NAME => 'Module::Metadata',
   VERSION_FROM => 'lib/Module/Metadata.pm',
+  ABSTRACT_FROM => 'lib/Module/Metadata.pm',
+  LICENSE => 'perl',
   PREREQ_PM => {
     'Carp'        => 0,
     'File::Find'  => 0,
@@ -16,8 +19,13 @@ WriteMakefile(
     'vars'        => 0,
     'version'     => 0.87,
     'warnings'    => 0,
+    $] < 5.008
+      ? ( 'IO::Scalar' => 0 )
+      : ()
+    ,
   },
   META_MERGE => {
+    'meta-spec' => { version => 2 },
     dynamic_config => 0,
     resources => {
       # r/w: p5sagit@git.shadowcat.co.uk:Module-Metadata.git