NAME
Alien::Autotools - Build and install the GNU build system.
VERSION
version 1.02
SYNOPSIS
From Perl:
use Alien::Autotools;
use Env qw( @PATH @ACLOCAL_PATH );
unshift @PATH, Alien::Autotools->bin_dir;
unshift @ACLOCAL_PATH, Alien::Autotools->aclocal_dir;
system 'autoconf', ...;
From alienfile:
use alienfile;
share {
requires 'Alien::Autotools';
};
DESCRIPTION
This Alien provides the minimum tools requires for building autoconf
based projects which do not come bundled with a working configure
script. It currently delegates most of its responsibilities to Alien::autoconf, Alien::automake, Alien::libtool, and Alien::m4.
METHODS
bin_dir
my @dirs = Alien::Autotools->bin_dir;
Returns the list of directories that need to be added to PATH
in order for the autotools to work correctly.
aclocal_dir
my @dirs = Alien::Autotools->aclocal_dir;
Returns the list of directories that need to be added to ACLOCAL_PATH
in order for the autotools to work correctly.
versions
my %versions = Alien::Autotools->versions;
Returns the versions of the various autotools that are available.
autoconf_dir
# legacy interface
use Alien:::Autotools qw( autoconf_dir );
my $dir = autoconf_dir;
Returns the directory path to autoconf
automake_dir
# legacy interface
use Alien:::Autotools qw( automake_dir );
my $dir = automake_dir;
Returns the directory path to automake
libtool_dir
# legacy interface
use Alien:::Autotools qw( libtool_dir );
my $dir = libtool_dir;
Returns the directory path to libtool
SEE ALSO
AUTHOR
Original author: Richard Simões
Current maintainer: Graham Ollis <plicease@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Richard Simões.
This is free software, licensed under:
The GNU Lesser General Public License, Version 3, June 2007