Alien-Libarchive

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN


                     END OF TERMS AND CONDITIONS

        Appendix: How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
free software which everyone can redistribute and change under these
terms.

  To do so, attach the following notices to the program.  It is safest to
attach them to the start of each source file to most effectively convey
the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) 19yy  <name of author>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 1, or (at your option)
    any later version.

README  view on Meta::CPAN

       CCFLAGS => scalar $alien->cflags,
       LIBS    => [$alien->libs],
     );

    FFI::Platypus

     use Alien::Libarchive;
     use FFI::Platypus;
     
     my $ffi = FFI::Platypus->new(lib => [Alien::Libarchive->new->dlls]);
     $ffi->attach( archive_read_new => [] => 'opaque' );

DESCRIPTION

    This distribution installs libarchive so that it can be used by other
    Perl distributions. If already installed for your operating system, and
    it can be found, this distribution will use the libarchive that comes
    with your operating system, otherwise it will download it from the
    Internet, build and install it.

    If you set the environment variable ALIEN_LIBARCHIVE to 'share', this

lib/Alien/Libarchive.pm  view on Meta::CPAN

   CCFLAGS => scalar $alien->cflags,
   LIBS    => [$alien->libs],
 );

FFI::Platypus

 use Alien::Libarchive;
 use FFI::Platypus;
 
 my $ffi = FFI::Platypus->new(lib => [Alien::Libarchive->new->dlls]);
 $ffi->attach( archive_read_new => [] => 'opaque' );

=head1 DESCRIPTION

This distribution installs libarchive so that it can be used by other Perl
distributions.  If already installed for your operating system, and it can
be found, this distribution will use the libarchive that comes with your
operating system, otherwise it will download it from the Internet, build
and install it.

If you set the environment variable C<ALIEN_LIBARCHIVE> to 'share', this



( run in 1.249 second using v1.01-cache-2.11-cpan-e1769b4cff6 )