Author image 🦖🦜Graham Ollis🦃🦕

NAME

Alien::Hunspell - Install hunspell

VERSION

version 0.16

SYNOPSIS

In your Makefile.PL:

 use ExtUtils::MakeMaker;
 use Alien::Base::Wrapper ();

 WriteMakefile(
   Alien::Base::Wrapper->new('Alien::Hunspell')->mm_args2(
     # MakeMaker args
     NAME => 'Kafka::Librd',
     ...
   ),
 );

In your Build.PL:

 use Module::Build;
 use Alien::Base::Wrapper qw( Alien::Hunspell !export );

 my $builder = Module::Build->new(
   ...
   configure_requires => {
     'Alien::Hunspell' => '0',
     ...
   },
   Alien::Base::Wrapper->mb_args,
   ...
 );

 $build->create_build_script;

In your FFI::Platypus script or module:

 use FFI::Platypus;
 use Alien::Hunspell;

 my $ffi = FFI::Platypus->new(
   lib => [ Alien::Hunspell->dynamic_libs ],
 );

DESCRIPTION

This module provides the spelling library Hunspell. It will either detect it as provided by the operating system, or download the source from the Internet and install it for you. It uses Alien::Base.

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 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.