diff options
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..990d788 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,84 @@ + +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.031. +use strict; +use warnings; + +use 5.006; + +use ExtUtils::MakeMaker 6.17; + + + +my %WriteMakefileArgs = ( + "ABSTRACT" => "Minimalist class construction", + "AUTHOR" => "David Golden <dagolden\@cpan.org>", + "CONFIGURE_REQUIRES" => { + "ExtUtils::MakeMaker" => "6.17" + }, + "DISTNAME" => "Class-Tiny", + "EXE_FILES" => [], + "LICENSE" => "apache", + "MIN_PERL_VERSION" => "5.006", + "NAME" => "Class::Tiny", + "PREREQ_PM" => { + "Carp" => 0, + "strict" => 0, + "warnings" => 0 + }, + "TEST_REQUIRES" => { + "Exporter" => 0, + "ExtUtils::MakeMaker" => 0, + "File::Spec" => 0, + "Test::More" => "0.96", + "base" => 0, + "lib" => 0, + "subs" => 0 + }, + "VERSION" => "1.001", + "test" => { + "TESTS" => "t/*.t" + } +); + + +my %FallbackPrereqs = ( + "Carp" => 0, + "Exporter" => 0, + "ExtUtils::MakeMaker" => "6.17", + "File::Spec" => 0, + "Test::More" => "0.96", + "base" => 0, + "lib" => 0, + "strict" => 0, + "subs" => 0, + "warnings" => 0 +); + + +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { + delete $WriteMakefileArgs{TEST_REQUIRES}; + delete $WriteMakefileArgs{BUILD_REQUIRES}; + $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; +} + +delete $WriteMakefileArgs{CONFIGURE_REQUIRES} + unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; + +if ($] < 5.010) { + $WriteMakefileArgs{PREREQ_PM} = { + %{ $WriteMakefileArgs{PREREQ_PM} }, + "MRO::Compat" => "0", + }; +} + +if ($] < 5.014) { + $WriteMakefileArgs{PREREQ_PM} = { + %{ $WriteMakefileArgs{PREREQ_PM} }, + "Devel::GlobalDestruction" => "0", + }; +} + +WriteMakefile(%WriteMakefileArgs); + + + |