package Alien::Libxml2; use strict; use warnings; use base qw( Alien::Base ); # ABSTRACT: Install the C libxml2 library on your system our $VERSION = '0.16'; # VERSION 1; __END__ =pod =encoding UTF-8 =head1 NAME Alien::Libxml2 - Install the C libxml2 library on your system =head1 VERSION version 0.16 =head1 SYNOPSIS In your Makefile.PL: use ExtUtils::MakeMaker; use Alien::Base::Wrapper (); WriteMakefile( Alien::Base::Wrapper->new('Alien::Libxml2')->mm_args2( # MakeMaker args NAME => 'Kafka::Librd', ... ), ); In your Build.PL: use Module::Build; use Alien::Base::Wrapper qw( Alien::Libxml2 !export ); my $builder = Module::Build->new( ... configure_requires => { 'Alien::Libxml2' => '0', ... }, Alien::Base::Wrapper->mb_args, ... ); $build->create_build_script; In your L script or module: use FFI::Platypus; use Alien::Libxml2; my $ffi = FFI::Platypus->new( lib => [ Alien::Libxml2->dynamic_libs ], ); =head1 DESCRIPTION This module provides C for other modules to use. =head1 CAVEATS There was an older existing L, but it uses the older L and the author prefers this version which is based on the more robust L system. C has some optional prereqs, including C and C. For a C install you will want to make sure that these are installed prior to installing L if you want to make use of features relying on them. For a system install, you want to make sure the development packages for C, C and C are installed if C has been configured to use them, otherwise L will not install as expected. If the tests for this module fail with a missing C or C, then this is likely the reason. =head1 SEE ALSO =over 4 =item L Older Alien for the same library. =item L Perl interface to C, which uses this L =back =head1 AUTHOR Author: Graham Ollis Eplicease@cpan.orgE Contributors: Shlomi Fish (shlomif) =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2013 by Graham Ollis. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut