diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2014-09-15 02:32:09 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2014-09-15 02:32:09 +0000 |
commit | 5f549fcb4056f8b314c7f7336a020ef9735fb384 (patch) | |
tree | 9c0b4c2b5b28e525fc59010fa458553a7e6a4b1b /Makefile.PL | |
download | Path-Class-tarball-master.tar.gz |
Path-Class-0.35HEADPath-Class-0.35master
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..38f4678 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,89 @@ + +use strict; +use warnings; + + + +use ExtUtils::MakeMaker 6.30; + + + +my %WriteMakefileArgs = ( + "ABSTRACT" => "Cross-platform path specification manipulation", + "AUTHOR" => "Ken Williams <kwilliams\@cpan.org>", + "BUILD_REQUIRES" => { + "Module::Build" => "0.3601" + }, + "CONFIGURE_REQUIRES" => { + "ExtUtils::MakeMaker" => "6.30", + "Module::Build" => "0.3601" + }, + "DISTNAME" => "Path-Class", + "EXE_FILES" => [], + "LICENSE" => "perl", + "NAME" => "Path::Class", + "PREREQ_PM" => { + "Carp" => 0, + "Cwd" => 0, + "Exporter" => 0, + "File::Copy" => 0, + "File::Path" => 0, + "File::Spec" => "3.26", + "File::Temp" => 0, + "File::stat" => 0, + "IO::Dir" => 0, + "IO::File" => 0, + "Perl::OSType" => 0, + "Scalar::Util" => 0, + "overload" => 0, + "parent" => 0, + "strict" => 0 + }, + "TEST_REQUIRES" => { + "Test" => 0, + "Test::More" => 0, + "warnings" => 0 + }, + "VERSION" => "0.35", + "test" => { + "TESTS" => "t/*.t" + } +); + + +my %FallbackPrereqs = ( + "Carp" => 0, + "Cwd" => 0, + "Exporter" => 0, + "File::Copy" => 0, + "File::Path" => 0, + "File::Spec" => "3.26", + "File::Temp" => 0, + "File::stat" => 0, + "IO::Dir" => 0, + "IO::File" => 0, + "Module::Build" => "0.3601", + "Perl::OSType" => 0, + "Scalar::Util" => 0, + "Test" => 0, + "Test::More" => 0, + "overload" => 0, + "parent" => 0, + "strict" => 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) }; + +WriteMakefile(%WriteMakefileArgs); + + + |