1Alien::Build::MM(3)   User Contributed Perl Documentation  Alien::Build::MM(3)
2
3
4

NAME

6       Alien::Build::MM - Alien::Build installer code for ExtUtils::MakeMaker
7

VERSION

9       version 1.55
10

SYNOPSIS

12       In your Makefile.PL:
13
14        use ExtUtils::MakeMaker;
15        use Alien::Build::MM;
16
17        my $abmm = Alien::Build::MM->new;
18
19        WriteMakefile($abmm->mm_args(
20          ABSTRACT     => 'Discover or download and install libfoo',
21          DISTNAME     => 'Alien-Libfoo',
22          NAME         => 'Alien::Libfoo',
23          VERSION_FROM => 'lib/Alien/Libfoo.pm',
24          ...
25        ));
26
27        sub MY::postamble {
28          $abmm->mm_postamble;
29        }
30
31       In your lib/Alien/Libfoo.pm:
32
33        package Alien::Libfoo;
34        use base qw( Alien::Base );
35        1;
36

DESCRIPTION

38       This class allows you to use Alien::Build and Alien::Base with
39       ExtUtils::MakeMaker.
40

CONSTRUCTOR

42   new
43        my $abmm = Alien::Build::MM->new;
44
45       Create a new instance of Alien::Build::MM.
46

PROPERTIES

48   build
49        my $build = $abmm->build;
50
51       The Alien::Build instance.
52
53   alienfile_meta
54        my $bool = $abmm->alienfile_meta
55
56       Set to a false value, in order to turn off the x_alienfile meta
57

METHODS

59   mm_args
60        my %args = $abmm->mm_args(%args);
61
62       Adjust the arguments passed into "WriteMakefile" as needed by
63       Alien::Build.
64
65   mm_postamble
66        my $postamble $abmm->mm_postamble;
67
68       Returns the postamble for the "Makefile" needed for Alien::Build.  This
69       adds the following "make" targets which are normally called when you
70       run "make all", but can be run individually if needed for debugging.
71
72       alien_prefix
73           Determines the final install prefix ("%{.install.prefix}").
74
75       alien_version
76           Determine the perl_module_version
77           ("%{.runtime.perl_module_version}")
78
79       alien_download
80           Downloads the source from the internet.  Does nothing for a system
81           install.
82
83       alien_build
84           Build from source (if a share install).  Gather configuration (for
85           either system or share install).
86
87       alien_prop
88           Prints the meta, install and runtime properties for the Alien.
89

SEE ALSO

91       Alien::Build, Alien::Base, Alien
92

AUTHOR

94       Author: Graham Ollis <plicease@cpan.org>
95
96       Contributors:
97
98       Diab Jerius (DJERIUS)
99
100       Roy Storey
101
102       Ilya Pavlov
103
104       David Mertens (run4flat)
105
106       Mark Nunberg (mordy, mnunberg)
107
108       Christian Walde (Mithaldu)
109
110       Brian Wightman (MidLifeXis)
111
112       Zaki Mughal (zmughal)
113
114       mohawk (mohawk2, ETJ)
115
116       Vikas N Kumar (vikasnkumar)
117
118       Flavio Poletti (polettix)
119
120       Salvador Fandiño (salva)
121
122       Gianni Ceccarelli (dakkar)
123
124       Pavel Shaydo (zwon, trinitum)
125
126       Kang-min Liu (劉康民, gugod)
127
128       Nicholas Shipp (nshp)
129
130       Juan Julián Merelo Guervós (JJ)
131
132       Joel Berger (JBERGER)
133
134       Petr Pisar (ppisar)
135
136       Lance Wicks (LANCEW)
137
138       Ahmad Fatoum (a3f, ATHREEF)
139
140       José Joaquín Atria (JJATRIA)
141
142       Duke Leto (LETO)
143
144       Shoichi Kaji (SKAJI)
145
146       Shawn Laffan (SLAFFAN)
147
148       Paul Evans (leonerd, PEVANS)
149
151       This software is copyright (c) 2011-2018 by Graham Ollis.
152
153       This is free software; you can redistribute it and/or modify it under
154       the same terms as the Perl 5 programming language system itself.
155
156
157
158perl v5.28.1                      2019-02-24               Alien::Build::MM(3)
Impressum