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
11 declaratively specify a dependency on a program or system that is not
12 Perl.
13
14 The commands it provides are similar to those in Module::Install::Can,
15 except that they implement an explicit dependency, in addition to just
16 working out if the particular thing is available.
17
19 requires_external_cc
20 requires_external_cc;
21
22 The "requires_external_cc" command explicitly specifies that a C
23 compiler 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 requires_external_bin 'cvs';
35
36 The "requires_external_bin" command takes the name of a system command
37 or program, similar to the "can_run" command, except that
38 "requires_external_bin" checks in a way that is a declarative explicit
39 dependency.
40
41 The takes a single param of the command/program name, and aborts the
42 "Makefile.PL" execution in a way that an automated installation or
43 testing system will interpret as a "NA" ("not applicable to this
44 platform") result.
45
46 Returns true as a convenience.
47
49 Work out how to save the external dependency metadata, in agreement
50 with the larger Perl community.
51
52 Implement the agreed external dependency metadata solution.
53
55 Adam Kennedy <adamk@cpan.org>
56
58 Module::Install
59
61 Copyright 2006 Adam Kennedy.
62
63 This program is free software; you can redistribute it and/or modify it
64 under the same terms as Perl itself.
65
66 See <http://www.perl.com/perl/misc/Artistic.html>
67
68
69
70perl v5.10.1 2009-05-27 Module::Install::External(3)