Acme-Alien-DontPanic

 view release on metacpan or  search on metacpan

INSTALL  view on Meta::CPAN


Installing Acme-Alien-DontPanic is straightforward.

## Installation with cpanm

If you have cpanm, you only need one line:

    % cpanm Acme::Alien::DontPanic

If it does not have permission to install modules to the current perl, cpanm
will automatically set up and install to a local::lib in your home directory.
See the local::lib documentation (https://metacpan.org/pod/local::lib) for
details on enabling it in your environment.

## Installing with the CPAN shell

Alternatively, if your CPAN shell is set up, you should just be able to do:

    % cpan Acme::Alien::DontPanic

## Manual installation

As a last resort, you can manually install it. If you have not already
downloaded the release tarball, you can find the download link on the module's
MetaCPAN page: https://metacpan.org/pod/Acme::Alien::DontPanic

Untar the tarball, install configure prerequisites (see below), then build it:

alienfile  view on Meta::CPAN

    version => qr/([0-9\.]+)\.tar\.gz$/,
  );
  plugin Extract => 'tar.gz';
  plugin 'Build::Autoconf';
  
  test [ '%{make} check' ];

  ffi {
  
    build [
      # TODO: under windows, dll is installed in bin.  setting --bindir doesn't seem to work for the .dll
      # only the .exe.
      '%{configure} --enable-shared --disable-static --libdir=%{.install.autoconf_prefix}/dynamic',
      '%{make}',
      '%{make} install',
    ];
    
    test [ '%{make} check' ];

  };

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

#!/bin/bash

set -ex

cip exec mkdir -p /home/cip/tmp
cip sudo apt-get update
cip sudo apt-get -y install libffi-dev g++
cip sudo bash -c 'curl https://alienfile.org/travis/install-system-dontpanic.sh | bash -x'
cip sudo chown -R cip.cip /home/cip/dzil
cip exec ./maint/cip-before-install-inside
cip exec bash -c 'env ALIEN_INSTALL_TYPE=system cpanm -n FFI::Platypus'

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

#!/bin/bash

set -ex

cd $(mktemp -d)
curl -L https://github.com/PerlAlien/Alien-Build/tarball/main | tar zxf -
cd $(ls -1)
dzil-dzil authordeps --missing | dzil-cpanm -n
dzil-dzil build
dzil-cpanm -n *.tar.gz
cpanm -n *.tar.gz



( run in 1.345 second using v1.01-cache-2.11-cpan-49f99fa48dc )