Alien-LZ4
view release on metacpan or search on metacpan
lib/Alien/LZ4.pm view on Meta::CPAN
my $build = Module::Build->new(
...
configure_requires => {
'Alien::Base::Wrapper' => '0',
'Alien::LZ4' => '0',
...
},
Alien::Base::Wrapper->mb_args,
...
);
$build->create_build_script;
From L<Inline::C> / L<Inline::CPP> script:
use Inline 0.56 with => 'Alien::LZ4';
From L<Dist::Zilla>
[@Filter]
-bundle = @Basic
-remove = MakeMaker
[Prereqs / ConfigureRequires]
Alien::LZ4 = 0
[MakeMaker::Awesome]
header = use Alien::Base::Wrapper qw( Alien::LZ4 !export );
WriteMakefile_arg = Alien::Base::Wrapper->mm_args
From L<FFI::Platypus>:
use FFI::Platypus;
use Alien::LZ4;
my $ffi = FFI::Platypus->new(
lib => [ Alien::LZ4->dynamic_libs ],
);
Command line tool:
use Alien::LZ4;
use Env qw( @PATH );
unshift @PATH, Alien::LZ4->bin_dir;
=head1 DESCRIPTION
This distribution provides LZ4 so that it can be used by other
Perl distributions that are on CPAN. It does this by first trying to
detect an existing install of LZ4 on your system. If found it
will use that. If it cannot be found, the source code will be downloaded
from the internet and it will be installed in a private share location
for the use of other modules.
=head1 SEE ALSO
=over 4
=item L<LZ4|https://lz4.github.io/lz4/>
The LZ4 home page.
=item L<Alien>
Documentation on the Alien concept itself.
=item L<Alien::Base>
The base class for this Alien.
=item L<Alien::Build::Manual::AlienUser>
Detailed manual for users of Alien classes.
=back
=cut
( run in 1.980 second using v1.01-cache-2.11-cpan-df04353d9ac )