Acme-Alien-DontPanic2

 view release on metacpan or  search on metacpan

INSTALL  view on Meta::CPAN

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Installing 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.
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::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
 
Untar the tarball, install configure prerequisites (see below), then build it:

alienfile  view on Meta::CPAN

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  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

1
2
3
4
5
6
7
8
9
10
11
#!/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

1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
 
set -ex
 
cd $(mktemp -d)
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 )