2024-07-09 16:58:49 +08:00
|
|
|
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.030.
|
2022-09-02 13:48:07 +08:00
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
|
|
|
use 5.006;
|
|
|
|
|
|
|
|
use ExtUtils::MakeMaker;
|
|
|
|
|
|
|
|
my %WriteMakefileArgs = (
|
|
|
|
"ABSTRACT" => "(Re)name a sub",
|
|
|
|
"AUTHOR" => "Matthijs van Duin <xmath\@cpan.org>",
|
|
|
|
"CONFIGURE_REQUIRES" => {
|
|
|
|
"ExtUtils::MakeMaker" => 0
|
|
|
|
},
|
|
|
|
"DISTNAME" => "Sub-Name",
|
|
|
|
"LICENSE" => "perl",
|
|
|
|
"MIN_PERL_VERSION" => "5.006",
|
|
|
|
"NAME" => "Sub::Name",
|
|
|
|
"PREREQ_PM" => {
|
|
|
|
"Exporter" => 0,
|
|
|
|
"XSLoader" => 0,
|
|
|
|
"strict" => 0,
|
|
|
|
"warnings" => 0
|
|
|
|
},
|
|
|
|
"TEST_REQUIRES" => {
|
|
|
|
"B" => 0,
|
|
|
|
"B::Deparse" => 0,
|
|
|
|
"Carp" => 0,
|
|
|
|
"ExtUtils::MakeMaker" => 0,
|
|
|
|
"File::Spec" => 0,
|
|
|
|
"Test::More" => 0,
|
|
|
|
"if" => 0
|
|
|
|
},
|
2024-07-09 16:58:49 +08:00
|
|
|
"VERSION" => "0.27",
|
2022-09-02 13:48:07 +08:00
|
|
|
"test" => {
|
|
|
|
"TESTS" => "t/*.t"
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
my %FallbackPrereqs = (
|
|
|
|
"B" => 0,
|
|
|
|
"B::Deparse" => 0,
|
|
|
|
"Carp" => 0,
|
|
|
|
"Exporter" => 0,
|
|
|
|
"ExtUtils::MakeMaker" => 0,
|
|
|
|
"File::Spec" => 0,
|
|
|
|
"Test::More" => 0,
|
|
|
|
"XSLoader" => 0,
|
|
|
|
"if" => 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);
|