Alien::...bPkgConf(3)

πŸ’… Alien::Build::Plugin::PkgConfig::LibPkgConf β€” a lil guide bestie

okay so this is a page from the User Contributed Perl Documentation for Alien::Build::Plugin::PkgConfig::LibPkgConf. yes the name is a mouthful, we don't make the rules. pull up a chair πŸͺ‘


✨ NAME ✨

Alien::Build::Plugin::PkgConfig::LibPkgConf β€” probe the system and figure out a library's or tool's properties, using PkgConfig::LibPkgConf. it's giving detective energy πŸ”


πŸŽ€ VERSION πŸŽ€

version 2.88 β€” that's the one we're vibing with here.


🌸 SYNOPSIS 🌸

use alienfile;
plugin 'PkgConfig::LibPkgConf' => (
  pkg_name => 'libfoo',
);

that's literally it. that's the whole setup. iconic.


πŸ’– DESCRIPTION πŸ’–

note, bestie: in most cases you're gonna want to use Alien::Build::Plugin::PkgConfig::Negotiate instead!! it picks the right fetch plugin based on your platform and environment, which is the lowkey smart move. sometimes though you gotta reach for this plugin directly instead. iykyk.

so what does this one do? it provides Probe and Gather steps for pkg-config based packages. it uses PkgConfig::LibPkgConf to get that job done. clean, simple, slay.

also, tea time β˜• β€” this plugin is part of the Alien::Build core For Now, but it may be removed at some future date. while It Seemed Like A Good Idea at the time, it might not be appropriate to keep it in core forever. if it does get spun off, it'll get its own distribution sometime in the future. so like… enjoy it while it's here 🫢


πŸ¦‹ PROPERTIES πŸ¦‹

pkg_name

the package name. πŸ“¦

if this is a list reference, then .pc files with all those package names must be present. the first name is the primary one and gets 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. very demure, very mindful.

atleast_version

the minimum required version that is an acceptable version as provided by the system. the floor, basically. πŸ“‰

exact_version

the exact required version that is an acceptable version as provided by the system. no wiggle room, no negotiation, periodt. 🎯

max_version

the max required version that is an acceptable version as provided by the system. the ceiling. don't go past it. 🚫

minimum_version

alias for "atleast_version", kept around for backward compatibility. the og name, we still love her πŸ’œ


πŸ”₯ METHODS πŸ”₯

available

my $bool = Alien::Build::Plugin::PkgConfig::LibPkgConf->available;

returns true if the necessary prereqs for this plugin are already installed. a little vibe check for your system, if you will ✨


🌈 SEE ALSO 🌈

  • Alien::Build::Plugin::PkgConfig::Negotiate
  • Alien::Build
  • alienfile
  • Alien::Build::MM
  • Alien

go read those too, they're the supporting cast and they ate πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

Author: Graham Ollis <plicease@cpan.org>

Contributors:

  • 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)

look at that list!! so many legends contributed to this, we love a collaborative moment 🫢✨


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 as in freedom, bestie πŸ•ŠοΈ


aaaaand that's the whole page!! πŸŽ‰ this one was generated by perl v5.42.3 on 2026-09-21, and it lives under the manual section Alien::...bPkgConf(3). thanks for reading, mwah πŸ’‹ bye bestie!! πŸŒΈπŸ¦‹πŸ’–

πŸ“¦ where this page comes from