Module::Build::Using::PkgConfig provides some handy methods to assist the Build.PL script of XS-based module distributions that make use of platform libraries managed by pkg-config.