Skip to content

PerlAlien/Alien-Editline

Repository files navigation

Alien::Editline linux macos

Build and make available Editline (libedit)

SYNOPSIS

In your Makefile.PL:

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

WriteMakefile(
  Alien::Base::Wrapper->new('Alien::Editline')->mm_args2(
    # MakeMaker args
    NAME => 'My::XS',
    ...
  ),
);

In your Build.PL:

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

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

$build->create_build_script;

In your FFI::Platypus script or module:

use FFI::Platypus;
use Alien::Editline;

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

DESCRIPTION

This distribution installs Editline so that it can be used by other Perl distributions. If already installed for your operating system, and it can be found, this distribution will use the Editline that comes with your operating system, otherwise it will download it from the Internet, build and install it fro you.

SEE ALSO

Alien, Alien::Base, Alien::Build::Manual::AlienUser

AUTHOR

Author: Graham Ollis plicease@cpan.org

Contributors:

Tom Hukins (TOMHUKINS)

COPYRIGHT AND LICENSE

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

About

Build and make available Editline (libeditline)

Resources

Stars

Watchers

Forks

Packages

No packages published