NAME

Alien::Zlib

SYNOPSIS

    require Alien::Zlib;

    my $prefix  = Alien::Zlib->prefix;
    my $include = Alien::Zlib->include;
    my $lib     = Alien::Zlib->lib;

    my $ver     = Alien::Zlib->version;

DESCRIPTION

This module resolves the non-perl prerequisite zlib. This allows your program/module to depend on the zlib library and expect common installers, such as CPANPLUS and CPAN.pm to install them for you.

It does so by installing a private copy of the zlib libraries into it's module directory.

Go to http://www.zlib.org for more information about zlib.

METHODS

prefix();

Returns the prefix (ie, the directory) where the include and lib directores will live. On a standard unix system, this might be /usr/local/

For this module, it will be $INC{'Alien/Zlib'}.

lib();

Returns the full path to the lib directory for the zlib libraries. On standard unix systems, this might be /usr/local/lib

For this module, it will be $INC{'Alien/Zlib'}/lib

include()

Returns the full path to the include directory for the zlib libraries. On standard unix systems, this might be /usr/local/include

For this module, it will be $INC{'Alien/Zlib'}/include

version()

Returns the version of the zlib libraries installed by this version of Alien::Zlib

lib_files()

Returns a list of full paths to the files that can be found in the 'Alien::Zlib->lib' directory. This corresponds to all created libraries.

include_files()

Returns a list of full paths to the files that can be found in the 'Alien::Zlib->include' direcotry. This corresponds to all copied header files.

TODO

AUTHOR

This module by Jos Boumans <kane@cpan.org>.

COPYRIGHT

This module is copyright (c) 2003 Jos Boumans <kane@cpan.org>. All rights reserved.

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

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 153:

You forgot a '=back' before '=head1'