Alien-Build-MB
view release on metacpan or search on metacpan
lib/Alien/Build/MB.pm view on Meta::CPAN
=head1 NAME
Alien::Build::MB - Alien::Build installer class for Module::Build
=head1 VERSION
version 0.09
=head1 SYNOPSIS
In your Build.PL:
use Alien::Build::MB;
Alien::Build::MB->new(
module_name => 'Alien::MyLibrary',
...
);
=head1 DESCRIPTION
This is a L<Module::Build> subclass that uses L<Alien::Build> to
help create L<Alien> distributions. The author recommends
L<Alien::Build::MM>, which uses L<ExtUtils::MakeMaker> instead.
The primary rationale for this class, is to prove independence
from any particular installer, so that other installers may be
added in the future if they become available. If you really do
prefer to work with L<Module::Build> though, this may be the
installer for you!
=head1 CONSTRUCTOR
=head2 new
my $abmb = Alien::Build::MB->new(%args);
Takes the usual L<Module::Build> arguments.
=head1 PROPERTIES
All L<Alien::Build::MB> specific properties have a C<alien_> prefix.
=head2 alien_alienfile_meta
If true (the default), then extra meta will be stored in C<x_alienfile> which includes
the C<share> and C<system> prereqs.
=head1 METHODS
=head2 alien_build
my $build = $abmb->alien_build;
Returns a freshly deserialized instance of L<Alien::Build>. If you make
any changes to this object's C<install_prop> or C<runtime_prop> properties
be sure that you also call C<< $build->checkpoint >>!
=head1 ACTIONS
These actions should automatically be called during the normal install
process. For debugging you may want to call them separately.
=head2 ACTION_alien_download
./Build alien_download
Downloads the package from the internet. For a system install this does
not do anything.
=head2 ACTION_alien_build
./Build alien_build
Build the package from source.
=head2 ACTION_alien_test
./Build alien_test
Run the package tests, if there are any.
=head1 SEE ALSO
L<Alien::Build>, L<Alien::Build::MM>, L<Alien::Base::ModuleBuild>
=head1 AUTHOR
Graham Ollis <plicease@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2017-2022 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.
=cut
( run in 2.294 seconds using v1.01-cache-2.11-cpan-0bd6704ced7 )