Alien-nasm
view release on metacpan or search on metacpan
plugin 'Probe::CommandLine' => (
command => 'nasm',
args => ['-v'],
match => qr/NASM version/,
);
plugin 'Probe::CommandLine' => (
command => 'ndisasm',
args => ['-v'],
match_stderr => qr/NDISASM version/,
secondary => 1,
);
share {
requires 'Path::Tiny';
plugin 'Fetch::HTTPTiny' => 'https://www.nasm.us/pub/nasm/releasebuilds';
plugin 'Decode::Mojo' => ();
plugin 'Prefer::SortVersions' => ();
build [
'sh configure --prefix=%{alien.install.prefix}',
'%{gmake}',
'%{gmake} install',
];
}
};
gather sub {
my($build) = @_;
my($stdout,$stderr) = capture {
system('nasm', '-v');
};
my $version = 'unknown';
if($stdout =~ /NASM version ([0-9\.]+)/)
{ $version = $1 }
elsif($stderr =~ /NASM version ([0-9\.]+)/)
{ $version = $1 }
$build->runtime_prop->{version} = $version;
};
xt/author/pod_spelling_system.t view on Meta::CPAN
if -r $config_filename;
plan skip_all => 'disabled' if $config->{pod_spelling_system}->{skip};
chdir(File::Spec->catdir($FindBin::Bin, File::Spec->updir, File::Spec->updir));
add_stopwords($config->{pod_spelling_system}->{stopwords}->@*);
add_stopwords(qw(
Plicease
stdout
stderr
stdin
subref
loopback
username
os
Ollis
Mojolicious
plicease
CPAN
reinstall
( run in 0.809 second using v1.01-cache-2.11-cpan-49f99fa48dc )