tokuhirom / Perl-Build

Other
79 stars 38 forks source link

NAME

Perl::Build - perl builder

SYNOPSIS

Install as plenv plugin (Recommended)

% git clone https://github.com/tokuhirom/Perl-Build.git $(plenv root)/plugins/perl-build/

CLI interface without dependencies

# perl-build command is FatPacker ready
% curl -L https://raw.githubusercontent.com/tokuhirom/Perl-Build/master/perl-build | perl - 5.16.2 /opt/perl-5.16/

CLI interface

% cpanm Perl::Build
% perl-build 5.16.2 /opt/perl-5.16/

Programmable interface

# install perl from CPAN
my $result = Perl::Build->install_from_cpan(
    '5.16.2' => (
        dst_path          => '/path/to/perl-5.16.2/',
        configure_options => ['-des'],
    )
);

# install perl from tar ball
my $result = Perl::Build->install_from_tarball(
    'path/to/perl-5.16.2.tar.gz' => (
        dst_path          => '/path/to/perl-5.16.2/',
        configure_options => ['-des'],
    )
);

DESCRIPTION

This is yet another perl builder module.

THIS IS A DEVELOPMENT RELEASE. API MAY CHANGE WITHOUT NOTICE.

METHODS

FAQ

THANKS TO

Most of the code was taken from App::perlbrew.

TYPESTER - suggests --patches option

Thanks

AUTHOR

Tokuhiro Matsuno tokuhirom@gmail.com

LICENSE

Copyright (C) Tokuhiro Matsuno

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This software takes lot of the code from App::perlbrew. App::perlbrew's license is:

The MIT License

Copyright (c) 2010,2011 Kang-min Liu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.