alienfile

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
↑ Summary blib/lib/Alien/gzip.pm »
1 1 ▶use alienfile;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 1 plugin 'Probe::CommandLine' => (
4 command => 'gzip',
5 args => [ '--version' ],
6 match => qr/gzip/,
7 version => qr/gzip ([0-9\.]+)/,
8 );
9  
10 1 plugin 'Probe::CommandLine' => (
11 command => 'gzip',
12 args => [ '--version' ],
13 match_stderr => qr/gzip/,
14 version_stderr => qr/gzip ([0-9\.]+)/,
15 );
16  
17 1 ▶share {
Subroutine __ANON__: called CC=1 SCAR=0.0
18  
19 1 meta->prop->{out_of_source} = 1;
20  
21 1 plugin Download => (
22 url => 'https://ftp.gnu.org/gnu/gzip/',
23 filter => qr/^gzip-.*\.tar\.xz$/,
24 version => qr/([0-9\.]+)/,
25 );
26  
27 # So. Gnu Not Understandable apparently
28 # does not distribute gzip as a tarball
29 # anymore. So yeah. You need xz.
30 1 plugin Extract => 'tar.xz';
31
32 1 plugin 'Build::Autoconf' => ( with_pic => 0 );
33  
34 1 build [ '%{configure}', '%{make}', '%{make} install' ];
35
36 #test [ '%{make} check' ];
37  
38 1 };
↑ Summary blib/lib/Alien/gzip.pm »