-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
69 lines (51 loc) · 1.9 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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.02