Alien::...andLine(3)
π NAME π
Alien::Build::Plugin::PkgConfig::CommandLine (that's section 3 of the manual, bestie π«Ά) β it probes your system and figures out library or tool properties by talking to the pkg-config command line interface. Basically it asks pkg-config what's up and reports back. β¨
π VERSION π
version 2.88 β yes she's got a version number, she's official π
πΈ SYNOPSIS πΈ
Like, here's how you'd actually use her:
use alienfile;
plugin 'PkgConfig::CommandLine' => (
pkg_name => 'libfoo',
);
π¦ DESCRIPTION π¦
Note: in most cases you will want to use Alien::Build::Plugin::PkgConfig::Negotiate instead. It picks the appropriate fetch plugin based on your platform and environment. In some cases you may need to use this plugin directly instead. (iykyk β sometimes you just gotta go direct, no middleman π)
So what does this plugin actually do? It provides Probe and Gather steps for pkg-config based packages. And the way it does it? It uses the best command line tools to accomplish this task. Bestie, she's not messing around β best tools, every time. π₯
β¨ PROPERTIES β¨
π pkg_name
The package name. Simple enough, right? But here's the tea β β if this is a list reference, then .pc files with all those package names must be present. The first name will be the primary and used by default once installed. For the subsequent .pc files you can use the Alien::Base alt method to retrieve the alternate configurations once the Alien is installed. Slay. π
π atleast_version
The minimum required version that is acceptable version as provided by the system.
π exact_version
The exact required version that is acceptable version as provided by the system. Like, she needs to be this version, no substitutions π
β max_version
The max required version that is acceptable version as provided by the system.
π¦ minimum_version
Alias for atleast_version for backward compatibility. Same energy, different name β she contains multitudes π
π METHODS π
π§ available
my $bool = Alien::Build::Plugin::PkgConfig::CommandLine->available;
Returns true if the necessary prereqs for this plugin are already installed. So like, a vibe check on whether she's ready to go. true = we're so back, false = install your prereqs bestie π
π₯ SEE ALSO π₯
Go read these too, they're all iconic in their own way:
Alien::Build::Plugin::PkgConfig::NegotiateAlien::BuildalienfileAlien::Build::MMAlien
π AUTHOR π
Author: Graham Ollis <plicease@cpan.org> β the main character of this whole thing, honestly π
Contributors (the whole group chat, no cap π«Ά):
- Diab Jerius (DJERIUS)
- Roy Storey (KIWIROY)
- Ilya Pavlov
- David Mertens (run4flat)
- Mark Nunberg (mordy, mnunberg)
- Christian Walde (Mithaldu)
- Brian Wightman (MidLifeXis)
- Zaki Mughal (zmughal)
- mohawk (mohawk2, ETJ)
- Vikas N Kumar (vikasnkumar)
- Flavio Poletti (polettix)
- Salvador FandiΓ±o (salva)
- Gianni Ceccarelli (dakkar)
- Pavel Shaydo (zwon, trinitum)
- Kang-min Liu (εεΊ·ζ°, gugod)
- Nicholas Shipp (nshp)
- Juan JuliΓ‘n Merelo GuervΓ³s (JJ)
- Joel Berger (JBERGER)
- Petr PΓsaΕ (ppisar)
- Lance Wicks (LANCEW)
- Ahmad Fatoum (a3f, ATHREEF)
- JosΓ© JoaquΓn Atria (JJATRIA)
- Duke Leto (LETO)
- Shoichi Kaji (SKAJI)
- Shawn Laffan (SLAFFAN)
- Paul Evans (leonerd, PEVANS)
- HΓ₯kon HΓ¦gland (hakonhagland, HAKONH)
- nick nauwelaerts (INPHOBIA)
- Florian Weimer
- Marcel Telka (mtelka)
Like, look at that list β literal legends, every single one ππ
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2011-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Free software, free vibes, we love to see it π¦
Ok that's the whole page bestie, hope it ate π
β this was perl v5.42.2, dated 2026-09-20, signing off from the Alien::...andLine(3) page. Mwah! πβ¨
π¦ where this page comes from
- arch rolling: perl-alien-build 2.88-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms