Alien-automake

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

    "lib/Alien/automake.pm" => "\$(INST_LIB)/Alien/automake.pm"
  },
  "PREREQ_PM" => {
    "Alien::Base" => "0.038"
  },
  "TEST_REQUIRES" => {
    "Alien::autoconf" => 0,
    "Env"             => 0,
    "Test2::V0"       => "0.000121",
    "Test::Alien"     => "2.52",
    "Test::More"      => "0.98"
  },
  "VERSION" => "0.18",
  "test"    => {
    "TESTS" => "t/*.t"
  }
);

my %FallbackPrereqs = (
  "Alien::Base"                           => "0.038",
  "Alien::Build"                          => "0.49",
  "Alien::Build::MM"                      => "0.32",
  "Alien::Build::Plugin::Build::Autoconf" => "0.47",
  "Alien::autoconf"                       => 0,
  "Env"                                   => 0,
  "ExtUtils::MakeMaker"                   => "6.52",
  "Test2::V0"                             => "0.000121",
  "Test::Alien"                           => "2.52",
  "Test::More"                            => "0.98"
);

# BEGIN code inserted by Dist::Zilla::Plugin::AlienBuild
use Alien::Build::MM;
my $abmm = Alien::Build::MM->new;
%WriteMakefileArgs = $abmm->mm_args(%WriteMakefileArgs);

# END code inserted by Dist::Zilla::Plugin::AlienBuild

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);

# BEGIN code inserted by Dist::Zilla::Plugin::AlienBuild
{ package
    MY;

  sub postamble {
    $abmm->mm_postamble(@_);
  }

  sub install {
    $abmm->can('mm_install')
      ? $abmm->mm_install(@_)
      : shift->SUPER::install(@_);
  }
}

# END code inserted by Dist::Zilla::Plugin::AlienBuild



( run in 1.011 second using v1.01-cache-2.11-cpan-39bf76dae61 )