diff options
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..bec752a --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,69 @@ + +use strict; +use warnings; + + + +use ExtUtils::MakeMaker 6.30; + + + +my %WriteMakefileArgs = ( + "ABSTRACT" => "Handle values with tags and validity ranges", + "AUTHOR" => "Gianni Ceccarelli <dakkar\@thenautilus.net>", + "BUILD_REQUIRES" => { + "Data::Printer" => 0, + "JSON::XS" => 0, + "Test::More" => 0, + "Test::Most" => 0 + }, + "CONFIGURE_REQUIRES" => { + "ExtUtils::MakeMaker" => "6.30" + }, + "DISTNAME" => "Data-MultiValued", + "EXE_FILES" => [], + "LICENSE" => "perl", + "NAME" => "Data::MultiValued", + "PREREQ_PM" => { + "Carp" => 0, + "Moose" => 0, + "Moose::Meta::Method::Accessor" => 0, + "Moose::Role" => 0, + "Moose::Util::TypeConstraints" => 0, + "MooseX::Params::Validate" => 0, + "MooseX::Types::Moose" => 0, + "MooseX::Types::Structured" => 0, + "Throwable::Error" => 0, + "Try::Tiny" => 0, + "base" => 0, + "namespace::autoclean" => 0, + "strict" => 0, + "warnings" => 0 + }, + "VERSION" => "0.0.1_2", + "test" => { + "TESTS" => "t/*.t" + } +); + + +unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) { + my $br = delete $WriteMakefileArgs{BUILD_REQUIRES}; + my $pp = $WriteMakefileArgs{PREREQ_PM}; + for my $mod ( keys %$br ) { + if ( exists $pp->{$mod} ) { + $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod}; + } + else { + $pp->{$mod} = $br->{$mod}; + } + } +} + +delete $WriteMakefileArgs{CONFIGURE_REQUIRES} + unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; + +WriteMakefile(%WriteMakefileArgs); + + + |