+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.30 ? (LICENSE => 'perl') : ()),
);