Alien-SeqAlignment-last
view release on metacpan or search on metacpan
? "The last suite is already installed in your system\n"
: "The last suite is not installed, so will install from source\n";
## check if all the components of the last-split-pe suite are installed
( $cmd, $stder ) = capture { system( 'lastal', '--help' ) };
my $is_last_split_pe_installed = $cmd =~ /\AUsage:/m;
print $is_last_split_pe_installed
? "The last-split-pe suite is already installed in your system\n"
: "The last-split-pe suite is not installed, so will install from source\n";
## set the suite download flags & determine whether to do sys Alien install
$build->install_prop->{my_to_install_last} = !$is_last_installed;
$build->install_prop->{my_to_install_last_split_pe} =
!$is_last_split_pe_installed;
( $build->install_prop->{my_to_install_last}
|| $build->install_prop->{my_to_install_last_split_pe} )
? 'share'
: 'system';
};
( run in 0.612 second using v1.01-cache-2.11-cpan-94b05bcf43c )