File Coverage

alienfile
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1 1     1   285759 use alienfile;
  1         4  
  1         10  
2 1     1   250 use Config;
  1         2  
  1         312  
3              
4             plugin 'PkgConfig' => 'nettle';
5              
6             share {
7              
8             requires 'Alien::m4' => '0.12';
9              
10             plugin Download => (
11             url => 'https://ftp.gnu.org/gnu/nettle/',
12             version => qr/^nettle-([0-9\.]+)\.tar\.gz$/,
13             );
14              
15             plugin Extract => 'tar.gz';
16              
17             plugin 'Build::Autoconf' => ();
18              
19             my @configure_flags = qw( --disable-shared );
20             push @configure_flags, '--disable-assembler' if $^O eq 'MSWin32' && $Config{myuname} =~ /strawberry-perl/;
21              
22             build [
23             "%{configure} @configure_flags",
24             '%{make}',
25             '%{make} install',
26             ];
27              
28             };