1Alien::pkgconf(3)     User Contributed Perl Documentation    Alien::pkgconf(3)
2
3
4

NAME

6       Alien::pkgconf - Discover or download and install pkgconf + libpkgconf
7

SYNOPSIS

9        use Alien::pkgconf;
10
11        my $cflags = Alien::pkgconf->cflags;
12        my $libs   = Alien::pkgconf->libs;
13

DESCRIPTION

15       This module provides you with the information that you need to invoke
16       "pkgconf" or link against "libpkgconf".  It isn't intended to be used
17       directly, but rather to provide the necessary package by a CPAN module
18       that needs "libpkgconf", such as PkgConfig::LibPkgConf.
19

METHODS

21   cflags
22        my $cflags = Alien::pkgconf->cflags;
23
24       The compiler flags for compiling against "libpkgconf".
25
26   libs
27        my $libs = Alien::pkgconf->libs;
28
29       The linker flags for linking against "libpkgconf".
30
31   dynamic_libs
32        my($dll) = Alien::pkgconf->dynamic_libs;
33
34       The ".so", ".dll" or ".dynlib" shared or dynamic library which can be
35       used via FFI.
36
37   version
38        my $version = Alien::pkgconf->version;
39
40       The "libpkgconf" version.
41
42   bin_dir
43        my($dir) = Alien::pkgconf->bin_dir;
44
45       The directory where you can find "pkgconf".  If it is not already in
46       the "PATH".  Adding this to "PATH" should make tools that require
47       "pkgconf" work.
48
49   install_type
50        my $type = Alien::pkgconf->install_type;
51
52       The type of install, should be either "share" or "system".
53

HELPERS

55   pkgconf
56        %{pkgconf}
57
58       The name of the "pkgconf" binary.  This is usually just "pkgconf".
59

SEE ALSO

61       PkgConfig::LibPkgConf
62

PLATFORM NOTES

64   Solaris
65       You may need to have the GNU version of nm installed, which comes with
66       GNU binutils.
67

ACKNOWLEDGMENTS

69       Thanks to the "pkgconf" developers for their efforts:
70
71       <https://github.com/pkgconf/pkgconf/graphs/contributors>
72

AUTHOR

74       Graham Ollis
75
76       Contributors:
77
78       Thibault Duponchelle (tib)
79
81       This software is copyright (c) 2016 Graham Ollis.
82
83       This is free software; you may redistribute it and/or modify it under
84       the same terms as the Perl 5 programming language system itself.
85
86
87
88perl v5.32.1                      2021-01-26                 Alien::pkgconf(3)
Impressum