LICENSE was added to ExtUtils::MakeMaker in 6.31, not 6.30
[p5sagit/Devel-Size.git] / Makefile.PL
old mode 100755 (executable)
new mode 100644 (file)
index 6426fb2..2066fe8
@@ -1,11 +1,9 @@
+use 5.008;
 use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
+
 WriteMakefile(
-    'NAME'             => 'Devel::Size',
-    'VERSION_FROM'     => 'Size.pm', # finds $VERSION
-    'PREREQ_PM'                => {}, # e.g., Module::Name => 1.1
-    'LIBS'             => [''], # e.g., '-lm'
-    'DEFINE'           => '', # e.g., '-DHAVE_SOMETHING'
-    'INC'              => '', # e.g., '-I/usr/include/other'
+  NAME => 'Devel::Size',
+  VERSION_FROM => 'lib/Devel/Size.pm',
+  ($ExtUtils::MakeMaker::VERSION >= 6.47 ? (MIN_PERL_VERSION => '5.008') : ()),
+  ($ExtUtils::MakeMaker::VERSION >= 6.31 ? (LICENSE => 'perl') : ()),
 );