| 1 | 1 | ▶ | use alienfile; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | 1 | plugin PkgConfig => pkg_name => 'hiredis', minimum_version => '0.11.0'; | |||||||||||||||||||||||||||
| 4 | 1 | plugin 'Build::Make' => make_type => 'gmake'; | |||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||
| 6 | 0 | ▶ | meta->around_hook(probe => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=4 SCAR=30.0
| |||||||||||||||||||||||||||||
| 7 | 0 | my $orig = shift; | |||||||||||||||||||||||||||
| 8 | 0 | my $build = shift; | |||||||||||||||||||||||||||
| 9 | 0 | my $install_type = $orig->($build, @_); | |||||||||||||||||||||||||||
| 10 | 0 | ▶ | if ($install_type eq 'system') { | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 11 | 0 | my $version = $build->hook_prop->{version}; | |||||||||||||||||||||||||||
| 12 | 0 | ▶ | return 'share' if !defined $version or $version eq '0.13.0'; | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
not defined $version or $version eq "0.13.0"
MC/DC0%0/2
not defined $version or $version eq "0.13.0"
not defined $version
$version eq "0.13.0"
Truth table0%0/3
not(A) or B
A= not defined $versionB= $version eq "0.13.0"
| |||||||||||||||||||||||||||||
| 13 | } | ||||||||||||||||||||||||||||
| 14 | 0 | return $install_type; | |||||||||||||||||||||||||||
| 15 | 1 | }); | |||||||||||||||||||||||||||
| 16 | |||||||||||||||||||||||||||||
| 17 | 1 | ▶ | share { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 18 | 1 | start_url 'src/hiredis-1.4.1.tar.gz'; | |||||||||||||||||||||||||||
| 19 | 1 | plugin 'Fetch::Local'; | |||||||||||||||||||||||||||
| 20 | 1 | plugin Extract => format => 'tar.gz'; | |||||||||||||||||||||||||||
| 21 | 1 | build [ | |||||||||||||||||||||||||||
| 22 | [ '%{make} PREFIX=%{.install.prefix}' ], | ||||||||||||||||||||||||||||
| 23 | [ '%{make} PREFIX=%{.install.prefix} install' ], | ||||||||||||||||||||||||||||
| 24 | ]; | ||||||||||||||||||||||||||||
| 25 | 1 | plugin 'Gather::IsolateDynamic'; | |||||||||||||||||||||||||||
| 26 | 1 | }; | |||||||||||||||||||||||||||