Alien-Win32-LZMA
view release on metacpan or search on metacpan
NAME
Alien::Win32::LZMA - Install and make available lzma.exe
DESCRIPTION
On Windows (unlike on Unix systems) the primary mechanism for accessing
LZMA functionality is via the 7-Zip desktop application.
Alien::Win32::LZMA is a simple Alien module which embeds a copy of the
lzma.exe command line utility for use in situations where the
memory-only compression and decompression provided by the current
generation of modules is not sufficient.
The version of lzma.exe provided by this module is taken from the LZMA
SDK 4.65 at <http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2>.
inc/Module/Install/Can.pm view on Meta::CPAN
# Fix Cygwin bug on maybe_command();
if ( $^O eq 'cygwin' ) {
require ExtUtils::MM_Cygwin;
require ExtUtils::MM_Win32;
if ( ! defined(&ExtUtils::MM_Cygwin::maybe_command) ) {
*ExtUtils::MM_Cygwin::maybe_command = sub {
my ($self, $file) = @_;
if ($file =~ m{^/cygdrive/}i and ExtUtils::MM_Win32->can('maybe_command')) {
ExtUtils::MM_Win32->maybe_command($file);
} else {
ExtUtils::MM_Unix->maybe_command($file);
}
}
}
}
1;
__END__
#line 156
inc/Module/Install/Metadata.pm view on Meta::CPAN
}
sub write {
my $self = shift;
return $self unless $self->is_admin;
$self->admin->write_meta;
return $self;
}
sub version_from {
require ExtUtils::MM_Unix;
my ( $self, $file ) = @_;
$self->version( ExtUtils::MM_Unix->parse_version($file) );
}
sub abstract_from {
require ExtUtils::MM_Unix;
my ( $self, $file ) = @_;
$self->abstract(
bless(
{ DISTNAME => $self->name },
'ExtUtils::MM_Unix'
)->parse_abstract($file)
);
}
# Add both distribution and module name
sub name_from {
my ($self, $file) = @_;
if (
Module::Install::_read($file) =~ m/
^ \s*
lib/Alien/Win32/LZMA.pm view on Meta::CPAN
package Alien::Win32::LZMA;
=pod
=head1 NAME
Alien::Win32::LZMA - Install and make available lzma.exe
=head1 DESCRIPTION
On Windows (unlike on Unix systems) the primary mechanism for accessing
LZMA functionality is via the 7-Zip desktop application.
B<Alien::Win32::LZMA> is a simple Alien module which embeds a copy
of the F<lzma.exe> command line utility for use in situations where
the memory-only compression and decompression provided by the current
generation of modules is not sufficient.
The version of lzma.exe provided by this module is taken from the LZMA
SDK 4.65 at L<http://downloads.sourceforge.net/sevenzip/lzma465.tar.bz2>.
( run in 1.275 second using v1.01-cache-2.11-cpan-39bf76dae61 )