Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (50 sloc) 1.4 KB
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.005.
use strict;
use warnings;
use 5.008001;
use ExtUtils::MakeMaker;
# perl Makefile.PL (from git repo) copies 'cpanm' -> 'bin/cpanm'
if (-e 'cpanm') {
for my $file ("bin/cpanm") {
print STDERR "Generating $file from cpanm\n";
open my $in, "<cpanm" or die $!;
open my $out, ">$file" or die $!;
while (<$in>) {
s|^#!/usr/bin/env perl|#!perl|; # so MakeMaker can fix it
print $out $_;
}
}
}
my %WriteMakefileArgs = (
"ABSTRACT" => "get, unpack, build and install modules from CPAN",
"AUTHOR" => "- Tatsuhiko Miyagawa",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "App-cpanminus",
"EXE_FILES" => [
"bin/cpanm"
],
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.008001",
"NAME" => "App::cpanminus",
"PREREQ_PM" => {},
"TEST_REQUIRES" => {
"Test::More" => 0
},
"VERSION" => "1.7042",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Test::More" => 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);
Something went wrong with that request. Please try again.