Alien-BCM2835
view release on metacpan or search on metacpan
requires 'Path::Tiny' => '0.077';
patch sub {
my($build) = @_;
my $pc = Path::Tiny->new('bcm2835-1.56.pc.in');
if(-f $pc)
{
$pc->edit_lines(sub {
s/^Cflags:\s*$/Cflags: -I\${includedir}\n/;
});
}
};
plugin 'Build::Autoconf' => ();
ffi {
build [
'%{configure} --enable-shared --disable-static --libdir=%{.install.autoconf_prefix}/dynamic',
'%{make}',
'%{make} install',
];
};
meta->after_hook(
gather_share => sub {
my($build) = @_;
$build->runtime_prop->{$_} .= ' -DYAML_DECLARE_STATIC ' for qw( cflags cflags_static );
},
);
};
( run in 0.617 second using v1.01-cache-2.11-cpan-94b05bcf43c )