1Module::Install::ExternUasle(r3)Contributed Perl DocumenMtoadtuiloen::Install::External(3)
2
3
4
6 Module::Install::External - Specify dependencies on external non-Perl
7 things
8
10 "Module::Install::External" provides command that allow you to declara‐
11 tively specify a dependency on a program or system that is not Perl.
12
13 The commands it provides are similar to those in Module::Install::Can,
14 except that they implement an explicit dependency, in addition to just
15 working out if the particular thing is available.
16
18 requires_external_cc
19
20 requires_external_cc;
21
22 The "requires_external_cc" command explicitly specifies that a C com‐
23 piler is required in order to build (at make-time) the distribution.
24
25 It does not take any params, and aborts the Makefile.PL execution in a
26 way that an automated installation or testing system will interpret as
27 a "NA" ("not applicable to this platform") result.
28
29 This maybe be changed to an alternative abort result at a later time.
30
31 Returns true as a convenience.
32
33 requires_external_bin
34
35 requires_external_bin 'cvs';
36
37 The "requires_external_bin" command takes the name of a system command
38 or program, similar to the "can_run" command, except that
39 "requires_external_bin" checks in a way that is a declarative explicit
40 dependency.
41
42 The takes a single param of the command/program name, and aborts the
43 "Makefile.PL" execution in a way that an automated installation or
44 testing system will interpret as a "NA" ("not applicable to this plat‐
45 form") result.
46
47 Returns true as a convenience.
48
50 Work out how to save the external dependency metadata, in agreement
51 with the larger Perl community.
52
53 Implement the agreed external dependency metadata solution.
54
56 Adam Kennedy <cpan@ali.as>
57
59 Module::Install
60
62 Copyright 2006 Adam Kennedy. All rights reserved.
63
64 This program is free software; you can redistribute it and/or modify it
65 under the same terms as Perl itself.
66
67 See <http://www.perl.com/perl/misc/Artistic.html>
68
69
70
71perl v5.8.8 2007-03-05 Module::Install::External(3)