NAME
    Alien::libpopt - Find or download and install popt library.

SYNOPSIS
     use Alien::libpopt;

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

DESCRIPTION
    Some packages insist on using popt library.

    This package detect system popt 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::libpopt;

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

     # Output like (Debian 11.7 system popt library):
     # cflags:  
     # cflags_static:  
     # dist_dir: /home/skim/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-libpopt
     # libs: -L/usr/lib/x86_64-linux-gnu -lpopt 
     # libs_static: -L/usr/lib/x86_64-linux-gnu -lpopt 
     # version: 1.18

DEPENDENCIES
    Alien::Base.

REPOSITORY
    <https://github.com/michal-josef-spacek/Alien-libpopt>

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

    <http://skim.cz>

LICENSE AND COPYRIGHT
    © 2023 Michal Josef Špaček

    BSD 2-Clause License

VERSION
    0.01