Alien-Libarchive-Installer
view release on metacpan or search on metacpan
system_requires method.
NOTE: This form will also use the libarchive provided by
Alien::Libarchive if version 0.21 or better is installed. This makes
this method ideal for finding libarchive as an optional dependency.
Options:
test
Specifies the test type that should be used to verify the integrity
of the system libarchive. Generally this should be set according to
the needs of your module. Should be one of:
compile
use test_compile_run to verify. This is the default.
ffi
use test_ffi to verify
both
use both test_compile_run and test_ffi to verify
alien
If true (the default) then an existing Alien::Libarchive will be used
if version 0.21 or better is found. Usually this is what you want.
build_install
my $installer = Alien::Libarchive::Installer->build_install( '/usr/local', %options );
Filename where the libarchive source tar is located. If not specified
the latest version will be downloaded from the Internet.
dir
Empty directory to be used to extract the libarchive source and to
build from.
test
Specifies the test type that should be used to verify the integrity
of the build after it has been installed. Generally this should be
set according to the needs of your module. Should be one of:
compile
use test_compile_run to verify. This is the default.
ffi
use test_ffi to verify
both
use both test_compile_run and test_ffi to verify
ATTRIBUTES
Attributes of an Alien::Libarchive::Installer provide the information
needed to use an existing libarchive (which may either be provided by
the system, or have just been built using build_install.
cflags
The compiler flags required to use libarchive.
lib/Alien/Libarchive/Installer.pm view on Meta::CPAN
B<NOTE:> This form will also use the libarchive provided by L<Alien::Libarchive>
if version 0.21 or better is installed. This makes this method ideal for
finding libarchive as an optional dependency.
Options:
=over 4
=item test
Specifies the test type that should be used to verify the integrity
of the system libarchive. Generally this should be
set according to the needs of your module. Should be one of:
=over 4
=item compile
use L<test_compile_run|Alien::Libarchive::Installer#test_compile_run> to verify.
This is the default.
=item ffi
use L<test_ffi|Alien::Libarchive::Installer#test_ffi> to verify
=item both
use both
L<test_compile_run|Alien::Libarchive::Installer#test_compile_run>
and
L<test_ffi|Alien::Libarchive::Installer#test_ffi>
to verify
=back
=item alien
If true (the default) then an existing L<Alien::Libarchive> will be
used if version 0.21 or better is found. Usually this is what you
want.
=back
lib/Alien/Libarchive/Installer.pm view on Meta::CPAN
If not specified the latest version will be downloaded
from the Internet.
=item dir
Empty directory to be used to extract the libarchive
source and to build from.
=item test
Specifies the test type that should be used to verify the integrity
of the build after it has been installed. Generally this should be
set according to the needs of your module. Should be one of:
=over 4
=item compile
use L<test_compile_run|Alien::Libarchive::Installer#test_compile_run> to verify.
This is the default.
=item ffi
use L<test_ffi|Alien::Libarchive::Installer#test_ffi> to verify
=item both
use both
L<test_compile_run|Alien::Libarchive::Installer#test_compile_run>
and
L<test_ffi|Alien::Libarchive::Installer#test_ffi>
to verify
=back
=back
=head1 ATTRIBUTES
Attributes of an L<Alien::Libarchive::Installer> provide the
information needed to use an existing libarchive (which may
either be provided by the system, or have just been built
( run in 0.340 second using v1.01-cache-2.11-cpan-5467b0d2c73 )