Alien-Editline

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

{
   "abstract" : "Build and make available Editline (libedit)",
   "author" : [
      "Graham Ollis <plicease@cpan.org>"
   ],
   "dynamic_config" : 1,
   "generated_by" : "Dist::Zilla version 6.014, CPAN::Meta::Converter version 2.150010",
   "license" : [
      "perl_5"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",

META.yml  view on Meta::CPAN

---
abstract: 'Build and make available Editline (libedit)'
author:
  - 'Graham Ollis <plicease@cpan.org>'
build_requires:
  Alien::Build: '0.32'
  Alien::Build::MM: '0.32'
  ExtUtils::MakeMaker: '6.52'
  Test2::Bundle::Extended: '0.000060'
  Test::Alien: '0'
  Test::More: '0.98'
  perl: '5.006'

Makefile.PL  view on Meta::CPAN

    exit;
  }
}
# This file was automatically generated by Dist::Zilla::Plugin::Author::Plicease::MakeMaker v2.45.
use strict;
use warnings;
use 5.006;
use ExtUtils::MakeMaker;

my %WriteMakefileArgs = (
  "ABSTRACT"       => "Build and make available Editline (libedit)",
  "AUTHOR"         => "Graham Ollis <plicease\@cpan.org>",
  "BUILD_REQUIRES" => {
    "Alien::Build"        => "0.32",
    "Alien::Build::MM"    => "0.32",
    "ExtUtils::MakeMaker" => "6.52"
  },
  "CONFIGURE_REQUIRES" => {
    "Alien::Build"        => "0.32",
    "Alien::Build::MM"    => "0.32",
    "ExtUtils::CBuilder"  => 0,

README  view on Meta::CPAN

NAME

    Alien::Editline - Build and make available Editline (libedit)

VERSION

    version 0.10

SYNOPSIS

    In your Makefile.PL:

     use ExtUtils::MakeMaker;

alienfile  view on Meta::CPAN

use alienfile;

plugin 'PkgConfig' => 'libedit';

plugin 'Probe::CBuilder' => (
  cflags => '-I/usr/include/edit/readline',
  libs => '-ledit',
);

share {

  plugin Download => (
    url     => 'https://thrysoee.dk/editline',
    version => qr/^libedit-([0-9\.\-]+)\.tar\.gz$/,
  );

  plugin Extract => 'tar.gz';
  plugin 'Build::Autoconf' => ();

};

author.yml  view on Meta::CPAN

---
pod_spelling_system:
  skip: 0
  # list of words that are spelled correctly
  # (regardless of what spell check thinks)
  stopwords:
    - Editline
    - libedit
    - Hukins
    - TOMHUKINS

pod_coverage:
  skip: 0
  # format is "Class#method" or "Class", regex allowed
  # for either Class or method.
  private: []

unused_vars:

dist.ini  view on Meta::CPAN

name             = Alien-Editline
author           = Graham Ollis <plicease@cpan.org>
license          = Perl_5
copyright_holder = Graham Ollis
copyright_year   = 2014-2020
version          = 0.10

[AlienBase::Doc]
name = editline
type = library
type = ffi

[@Author::Plicease]
:version              = 2.44
travis_status         = 1
release_tests         = 1
github_user           = Perl5-Alien
irc                   = irc://irc.perl.org/#native

lib/Alien/Editline.pm  view on Meta::CPAN

package Alien::Editline;

use strict;
use warnings;
use base qw( Alien::Base );

# ABSTRACT: Build and make available Editline (libedit)
our $VERSION = '0.10'; # VERSION








1;

__END__

=pod

=encoding UTF-8

=head1 NAME

Alien::Editline - Build and make available Editline (libedit)

=head1 VERSION

version 0.10

=head1 SYNOPSIS

In your Makefile.PL:

 use ExtUtils::MakeMaker;

maint/cip-before-install  view on Meta::CPAN

set -ex

if [ "x$CIP_ENV" == "x" ]; then
  echo "please set CIP_ENV to one of:"
  echo " export CIP_ENV=ALIEN_INSTALL_TYPE=share"
  echo " export CIP_ENV=ALIEN_INSTALL_TYPE=system"
  false
fi

if echo $CIP_ENV | grep -q system; then
  echo use system libedit
  cip sudo apt-get update
  cip sudo apt-get -y install libedit-dev
else
  echo use internet libedit
  cip sudo apt-get update
  cip sudo apt-get -y install libncurses-dev
fi

t/xs.t  view on Meta::CPAN

  ok 1, 'history_end did not crash!';
};

done_testing;

__DATA__

#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include <histedit.h>

MODULE = EditLine PACKAGE = EditLine

void *
history_init()

void
history_end(history)
    void *history;



( run in 0.641 second using v1.01-cache-2.11-cpan-de7293f3b23 )