NAME

Alien::DjVuLibre - Find or download and install DjVuLibre.

SYNOPSIS

use Alien::DjVuLibre;

my $atleast_version = Alien::DjVulibre->atleast_version($wanted_version);
my $bin_dir = Alien::DjVuLibre->bin_dir;
my $cflags = Alien::DjVuLibre->cflags;
my $cflags_static = Alien::DjVuLibre->cflags_static;
my $dist_dir = Alien::DjVuLibre->dist_dir;
my $exact_version = Alien::DjVuLibre->exact_version($wanted_version);
my $install_type = Alien::DjVuLibre->install_type;
my $libs = Alien::DjVuLibre->libs;
my $libs_static = Alien::DjVuLibre->libs_static;
my $max_version = Alien::DjVuLibre->max_version($wanted_version);
my $version = Alien::DjVuLibre->version;

DESCRIPTION

Some packages insist on using DjVuLibre library.

This package detect system DjVuLibre library or install own.

SUBROUTINES/METHODS

All methods are inherited from Alien::Base.

CONFIGURATION AND ENVIRONMENT

Not yet.

EXAMPLE

use strict;
use warnings;

use Alien::DjVuLibre;

print 'cflags: '.Alien::DjVuLibre->cflags."\n";
print 'cflags_static: '.Alien::DjVuLibre->cflags_static."\n";
print 'dist_dir: '.Alien::DjVuLibre->dist_dir."\n";
print 'libs: '.Alien::DjVuLibre->libs."\n";
print 'libs_static: '.Alien::DjVuLibre->libs_static."\n";
print 'version: '.Alien::DjVuLibre->version."\n";

# Output like:
# cflags: -pthread
# cflags_static: -pthread
# dist_dir: ~/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-DjVuLibre
# libs: -ldjvulibre
# libs_static: -ldjvulibre -ljpeg -lpthread -lm
# version: 3.5.28

DEPENDENCIES

Alien::Base.

REPOSITORY

https://github.com/michal-josef-spacek/Alien-DjVuLibre

AUTHOR

Michal Josef Špaček mailto:skim@cpan.org

http://skim.cz

CONTRIBUTORS

Zakariyya Mughal mailto:zaki.mughal@gmail.com

LICENSE AND COPYRIGHT

© 2022-2023 Michal Josef Špaček

BSD 2-Clause License

VERSION

0.07