Apache-AuthCookie
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
# This Makefile.PL for Apache-AuthCookie was generated by
# Dist::Zilla::Plugin::MakeMaker::ApacheTest 0.04
# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.49.
# Don't edit it but the dist.ini and plugins used to construct it.
use strict;
use warnings;
use ExtUtils::MakeMaker;
# figure out if mod_perl v1 or v2 is installed. DynamicPrereqs in the
# PluginBundle needs this to require the appropriate mod_perl module.
my $mp_version = mod_perl_version();
# configure Apache::Test
test_configure();
my %WriteMakefileArgs = (
"ABSTRACT" => "Perl Authentication and Authorization via cookies",
"AUTHOR" => "Michael Schout <mschout\@cpan.org>",
"CONFIGURE_REQUIRES" => {
"Apache::Test" => "1.39",
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Apache-AuthCookie",
"LICENSE" => "perl",
"NAME" => "Apache::AuthCookie",
"PREREQ_PM" => {
"Carp" => 0,
"Class::Load" => "0.03",
"Encode" => 0,
"HTTP::Body" => 0,
"Hash::MultiValue" => 0,
"Test::More" => "0.98",
"URI" => "1.36",
"WWW::Form::UrlEncoded" => 0
},
"TEST_REQUIRES" => {
"URI::Escape" => "1.31"
},
"VERSION" => "3.32",
"clean" => {
"FILES" => [
"t/TEST"
]
},
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Carp" => 0,
"Class::Load" => "0.03",
"Encode" => 0,
"HTTP::Body" => 0,
"Hash::MultiValue" => 0,
"Test::More" => "0.98",
"URI" => "1.36",
"URI::Escape" => "1.31",
"WWW::Form::UrlEncoded" => 0
);
# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.040
if ($mp_version == 2) { requires('mod_perl2', '1.999022'); } elsif ($mp_version == 1) { requires('mod_perl', '1.27'); }
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);
sub test_configure {
require Apache::TestMM;
# enable make test
Apache::TestMM->import(qw(test clean));
Apache::TestMM::filter_args();
Apache::TestMM::generate_script('t/TEST');
}
( run in 1.219 second using v1.01-cache-2.11-cpan-39bf76dae61 )