Acme-Alien-DontPanic2
view release on metacpan or search on metacpan
2345678910111213141516171819202122232425262728Installing Acme-Alien-DontPanic2 is straightforward.
## Installation with cpanm
If you have cpanm, you only need one line:
% cpanm Acme::Alien::DontPanic2
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.
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::DontPanic2
## 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::DontPanic2
Untar the tarball, install configure prerequisites (see below), then build it:
1617181920212223242526272829303132333435
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
1234567891011#!/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
"env $CIP_ENV 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
12345678910111213#!/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
cd $(mktemp -d)
( run in 0.260 second using v1.01-cache-2.11-cpan-a5abf4f5562 )