Dist::Zilla::Plugin::AlienBuild - Use Alien::Build with Dist::Zilla
version 0.32
[AlienBuild]
This Dist::Zilla plugin is designed to help create Alien modules using the alienfile and Alien::Build recipe system with Alien::Base. The intent is that you will maintain your alienfile as you normally would, and this plugin will ensure the right prereqs are specified in the META.json and other things that are easy to get not quite right.
META.json
Specifically, this plugin:
Adds the configure requirements to your dist configure requires. It adds the any requirements from your alienfile to your dist build requires.
configure
any
build
Adjusts your Makefile.PL to use Alien::Build::MM. If you are using ExtUtils::MakeMaker.
Makefile.PL
sets mb_class to Alien::Build::MB on the Dist::Zilla::Plugin::ModuleBuild plugin. If you are using Module::Build.
Which are used by most Alien::Build based Alien distributions.
Unless you turn this feature off using alienfile_meta below.
alienfile_meta
As of version 0.23, this plugin adds a special x_alienfile metadata to your META.json or META.yml. This contains the share and system prereqs based on your alienfile. This may be useful for one day searching for Aliens which use another specific Alien during their build. Note that by their nature, share and system prereqs are dynamic, so on some platforms they may actually be different.
x_alienfile
META.yml
share
system
This is on by default. You can turn this off by setting this property to 0.
0
Sets the clean_install property on Alien::Build::MM.
Alien::Build, alienfile, Alien::Base, Alien::Build::MM, Alien::Build::MB, Dist::Zilla::Plugin::AlienBase::Doc
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2017 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::AlienBuild, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::AlienBuild
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::AlienBuild
For more information on module installation, please visit the detailed CPAN module installation guide.