Alien-Brotli
view release on metacpan or search on metacpan
use version 0.77;
use constant MINIMUM_VERSION => '1.0.9';
plugin 'PkgConfig' => (
pkg_name => [qw/ libbrotlicommon libbrotlienc libbrotlidec /],
minimum_version => MINIMUM_VERSION,
);
plugin 'Probe::CommandLine' => (
command => 'brotli',
secondary => 1,
);
share {
requires 'Alien::bc::GNU' => '0';
start_url 'https://github.com/google/brotli/tags';
plugin 'Build::SearchDep';
plugin 'Download' => (
t/00-report-prereqs.t view on Meta::CPAN
}
else {
$cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source)
$source = 'static metadata';
}
my @full_reports;
my @dep_errors;
my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs;
# Add static includes into a fake section
for my $mod (@include) {
$req_hash->{other}{modules}{$mod} = 0;
}
for my $phase ( qw(configure build test runtime develop other) ) {
next unless $req_hash->{$phase};
next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING});
for my $type ( qw(requires recommends suggests conflicts modules) ) {
next unless $req_hash->{$phase}{$type};
( run in 1.743 second using v1.01-cache-2.11-cpan-39bf76dae61 )