Alien-curl
view release on metacpan or search on metacpan
return if $^O ne 'MSWin32';
my $target_file = "src/Makefile";
$build->log ("Patching $target_file for share build");
my $target_text
= quotemeta '$(LIBTOOL) --tag=RC --mode=compile $(RC) -I$(top_srcdir)/include';
my $new_text
= '$(RC) -I$(top_srcdir)/include';
Path::Tiny->new($target_file)->edit_raw(sub {s/^(\s+)$target_text/$1$new_text/ms});
return;
};
build [
"%{configure} --enable-shared --disable-static --bindir=$ffi_target --libdir=$ffi_target @acflags",
$patch_makefile,
'%{make}',
'%{make} install',
sub {
( run in 0.792 second using v1.01-cache-2.11-cpan-de7293f3b23 )