<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME

    Alien::Libxml2 - Install the C libxml2 library on your system

VERSION

    version 0.02

SYNOPSIS

    In your Build.PL:

     use Module::Build;
     use Alien::Libxml2;
     my $builder = Module::Build-&gt;new(
       ...
       configure_requires =&gt; {
         'Alien::Libxml2' =&gt; '0',
         ...
       },
       extra_compiler_flags =&gt; Alien::Libxml2-&gt;cflags,
       extra_linker_flags   =&gt; Alien::Libxml2-&gt;libs,
       ...
     );
     
     $build-&gt;create_build_script;

    In your Makefile.PL:

     use ExtUtils::MakeMaker;
     use Config;
     use Alien::Libxml2;
     
     WriteMakefile(
       ...
       CONFIGURE_REQUIRES =&gt; {
         'Alien::Libxml2' =&gt; '0',
       },
       CCFLAGS =&gt; Alien::Libxml2-&gt;cflags . " $Config{ccflags}",
       LIBS    =&gt; [ Alien::Libxml2-&gt;libs ],
       ...
     );

    In your FFI::Platypus script or module:

     use FFI::Platypus;
     use Alien::Libxml2;
     
     my $ffi = FFI::Platypus-&gt;new(
       lib =&gt; [ Alien::Libxml2-&gt;dynamic_libs ],
     );

DESCRIPTION

    This module provides libxml2 for other modules to use. There was an
    already existing Alien::LibXML, but it uses the older
    Alien::Build::ModuleBuild and has not bee actively maintained for a
    while.

SEE ALSO

    Alien::LibXML

      Unmaintained Alien for the same library.

AUTHOR

    Graham Ollis &lt;plicease@cpan.org&gt;

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.

</pre></body></html>