++ed by:
ZMUGHAL PABLROD

2 PAUSE users
2 non-PAUSE users.

Graham Ollis 🔥🐉
and 3 contributors

NAME

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

VERSION

version 0.66

SYNOPSIS

In your Makefile.PL:

 use ExtUtils::MakeMaker;
 use Alien::Build::MM;
 
 my $abmm = Alien::Build::MM->new;
 
 WriteMakefile($abmm->mm_args(
   ABSTRACT     => 'Discover or download and install libfoo',
   DISTNAME     => 'Alien-Libfoo',
   NAME         => 'Alien::Libfoo',
   VERSION_FROM => 'lib/Alien/Libfoo.pm',
   ...
 ));
 
 sub MY::postamble {
   $abmm->mm_postamble;
 }

In your lib/Alien/Libfoo.pm:

 package Alien::Libfoo;
 use base qw( Alien::Base );
 1;

DESCRIPTION

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

CONSTRUCTOR

new

 my $abmm = Alien::Build::MM->new;

Create a new instance of Alien::Build::MM.

PROPERTIES

build

 my $build = $abmm->build;

The Alien::Build instance.

METHODS

mm_args

 my %args = $abmm->mm_args(%args);

Adjust the arguments passed into WriteMakefile as needed by Alien::Build.

mm_postamble

 my %args = $abmm->mm_args(%args);

Returns the postamble for the Makefile needed for Alien::Build. This adds the following make targets which are normally called when you run make all, but can be run individually if needed for debugging.

alien_prefix

Determines the final install prefix (%{.install.prefix}).

alien_version

Determine the perl_module_version (%{.runtime.perl_module_version})

alien_download

Downloads the source from the internet. Does nothing for a system install.

alien_build

Build from source (if a share install). Gather configuration (for either system or share install).

alien_prop

Prints the meta, install and runtime properties for the Alien.

SEE ALSO

Alien::Build, Alien::Base, Alien

AUTHOR

Author: Graham Ollis <plicease@cpan.org>

Contributors:

Diab Jerius (DJERIUS)

Roy Storey

Ilya Pavlov

COPYRIGHT AND LICENSE

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.