Alien-pdf2htmlEX
view release on metacpan or search on metacpan
plugin Extract => 'tar.gz';
patch sub {
my @files = map { Path::Tiny->new($_) }
qw(src/pdf2htmlEX-config.h.in pdf2htmlEX.1.in);
for my $file (@files) {
# Patch to allow the data directory to point to the final
# location of the share dir.
$file->edit_lines(sub {
s/\@CMAKE_INSTALL_PREFIX\@/\@CMAKE_RUNTIME_PREFIX\@/g;
});
}
};
# warn is fine here because this is part of configure-time
eval {
require Alien::FontForge;
require Alien::Poppler;
push @PKG_CONFIG_PATH, Alien::FontForge->pkg_config_path;
( run in 0.604 second using v1.01-cache-2.11-cpan-de7293f3b23 )