1Alien::Build::Plugin::PUrsoebre(C3o)ntributed Perl DocumAelniteant:i:oBnuild::Plugin::Probe(3)
2
3
4
6 Alien::Build::Plugin::Probe - Probe Alien::Build plugins
7
9 version 2.80
10
12 look for libraries in known location:
13
14 use alienfile;
15 plugin 'Probe::CBuilder' => (
16 cflags => '-I/opt/libfoo/include',
17 libs => '-L/opt/libfoo/lib -lfoo',
18 );
19
20 look for tools in the path:
21
22 use alienfile;
23 plugin 'Probe::CommandLine' => (
24 command => 'gzip',
25 args => [ '--version' ],
26 match => qr/gzip/,
27 version => qr/gzip ([0-9\.]+)/,
28 );
29
30 Use "vcpkg" for Visual C++ Perl:
31
32 use alienfile;
33 plugin 'Probe::Vcpkg' => 'libffi';
34
36 Probe plugins try to find existing libraries and tools already
37 installed on the system. If found they can be used instead of
38 downloading the source from the internet and building.
39
40 Alien::Build::Plugin::Probe::CBuilder
41 Use ExtUtils::CBuilder to probe for existing installed library.
42
43 Alien::Build::Plugin::Probe::CommandLine
44 Execute commands to probe for existing tools.
45
46 Alien::Build::Plugin::Probe::Vcpkg
47 Use Win32::Vcpkg to probe for existing installed library.
48
50 Alien::Build, Alien::Build::Plugin
51
53 Author: Graham Ollis <plicease@cpan.org>
54
55 Contributors:
56
57 Diab Jerius (DJERIUS)
58
59 Roy Storey (KIWIROY)
60
61 Ilya Pavlov
62
63 David Mertens (run4flat)
64
65 Mark Nunberg (mordy, mnunberg)
66
67 Christian Walde (Mithaldu)
68
69 Brian Wightman (MidLifeXis)
70
71 Zaki Mughal (zmughal)
72
73 mohawk (mohawk2, ETJ)
74
75 Vikas N Kumar (vikasnkumar)
76
77 Flavio Poletti (polettix)
78
79 Salvador Fandiño (salva)
80
81 Gianni Ceccarelli (dakkar)
82
83 Pavel Shaydo (zwon, trinitum)
84
85 Kang-min Liu (劉康民, gugod)
86
87 Nicholas Shipp (nshp)
88
89 Juan Julián Merelo Guervós (JJ)
90
91 Joel Berger (JBERGER)
92
93 Petr Písař (ppisar)
94
95 Lance Wicks (LANCEW)
96
97 Ahmad Fatoum (a3f, ATHREEF)
98
99 José Joaquín Atria (JJATRIA)
100
101 Duke Leto (LETO)
102
103 Shoichi Kaji (SKAJI)
104
105 Shawn Laffan (SLAFFAN)
106
107 Paul Evans (leonerd, PEVANS)
108
109 Håkon Hægland (hakonhagland, HAKONH)
110
111 nick nauwelaerts (INPHOBIA)
112
113 Florian Weimer
114
116 This software is copyright (c) 2011-2022 by Graham Ollis.
117
118 This is free software; you can redistribute it and/or modify it under
119 the same terms as the Perl 5 programming language system itself.
120
121
122
123perl v5.36.1 2023-05-15 Alien::Build::Plugin::Probe(3)