Alien::Hunspell - Install hunspell
version 0.11
In your Build.PL:
use Module::Build; use Alien::Hunspell; my $builder = Module::Build->new( ... configure_requires => { 'Alien::Hunspell' => '0', ... }, extra_compiler_flags => Alien::Hunspell->cflags, extra_linker_flags => Alien::Hunspell->libs, ... ); $build->create_build_script;
In your Makefile.PL:
use ExtUtils::MakeMaker; use Config; use Alien::Hunspell; WriteMakefile( ... CONFIGURE_REQUIRES => { 'Alien::Hunspell' => '0', }, CCFLAGS => Alien::Hunspell->cflags . " $Config{ccflags}", LIBS => [ Alien::Hunspell->libs ], ... );
In your FFI::Platypus script or module:
use FFI::Platypus; use Alien::Hunspell; my $ffi = FFI::Platypus->new( lib => [ Alien::Hunspell->dynamic_libs ], );
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.
Graham Ollis <plicease@cpan.org>
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.
To install Alien::Hunspell, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::Hunspell
CPAN shell
perl -MCPAN -e shell install Alien::Hunspell
For more information on module installation, please visit the detailed CPAN module installation guide.