Alien-DjVuLibre
view release on metacpan or search on metacpan
plugin 'Decode::SourceForge';
start_url 'https://sourceforge.net/projects/djvu/files/DjVuLibre/3.5.28/';
plugin 'Download' => (
filter => qr/^djvulibre-[0-9\.]+\.tar\.gz$/,
version => qr/^djvulibre-([0-9\.]+)\.tar\.gz$/,
);
plugin 'Extract' => 'tar.gz';
plugin 'Build::Make' => 'gmake';
plugin 'Build::Autoconf';
build [
'%{configure} --disable-xmltools --disable-desktopfiles --enable-shared --enable-static',
'%{make}',
'%{make} install',
];
after gather => sub {
my ($build) = @_;
my @extra_compiler_flags;
if( $^O eq 'MSWin32' ) {
# possibly only needed for MinGW
( run in 0.469 second using v1.01-cache-2.11-cpan-299005ec8e3 )