1Alien::Build::MB(3) User Contributed Perl Documentation Alien::Build::MB(3)
2
3
4
6 Alien::Build::MB - Alien::Build installer class for Module::Build
7
9 version 0.08
10
12 In your Build.PL:
13
14 use Alien::Build::MB;
15
16 Alien::Build::MB->new(
17 module_name => 'Alien::MyLibrary',
18 ...
19 );
20
22 This is a Module::Build subclass that uses Alien::Build to help create
23 Alien distributions. The author recommends Alien::Build::MM, which
24 uses ExtUtils::MakeMaker instead. The primary rationale for this
25 class, is to prove independence from any particular installer, so that
26 other installers may be added in the future if they become available.
27 If you really do prefer to work with Module::Build though, this may be
28 the installer for you!
29
31 new
32 my $abmb = Alien::Build::MB->new(%args);
33
34 Takes the usual Module::Build arguments.
35
37 All Alien::Build::MB specific properties have a "alien_" prefix.
38
39 alien_alienfile_meta
40 If true (the default), then extra meta will be stored in "x_alienfile"
41 which includes the "share" and "system" prereqs.
42
44 alien_build
45 my $build = $abmb->alien_build;
46
47 Returns a freshly deserialized instance of Alien::Build. If you make
48 any changes to this object's "install_prop" or "runtime_prop"
49 properties be sure that you also call "$build->checkpoint"!
50
52 These actions should automatically be called during the normal install
53 process. For debugging you may want to call them separately.
54
55 ACTION_alien_download
56 ./Build alien_download
57
58 Downloads the package from the internet. For a system install this
59 does not do anything.
60
61 ACTION_alien_build
62 ./Build alien_build
63
64 Build the package from source.
65
66 ACTION_alien_test
67 ./Build alien_test
68
69 Run the package tests, if there are any.
70
72 Alien::Build, Alien::Build::MM, Alien::Base::ModuleBuild
73
75 Graham Ollis <plicease@cpan.org>
76
78 This software is copyright (c) 2017-2022 by Graham Ollis.
79
80 This is free software; you can redistribute it and/or modify it under
81 the same terms as the Perl 5 programming language system itself.
82
83
84
85perl v5.34.0 2022-03-24 Alien::Build::MB(3)