2 # Package Namespace is hardcoded. Modules must live in
5 package EximBuild::Modules::Skeleton;
7 use EximBuild::Options;
12 use vars qw($VERSION); $VERSION = 'REL_0.1';
15 'checkout' => \&checkout,
16 'setup-target' => \&setup_target,
17 'need-run' => \&need_run,
18 'configure' => \&configure,
21 'install' => \&install,
22 'installcheck' => \&installcheck,
23 'locale-end' => \&locale_end,
24 'cleanup' => \&cleanup,
29 my $class = __PACKAGE__;
31 my $buildroot = shift; # where we're building
32 my $branch = shift; # The branch of exim that's being built.
33 my $conf = shift; # ref to the whole config object
34 my $exim = shift; # exim build dir
36 # could even set up several of these (e.g. for different branches)
38 buildroot => $buildroot,
45 # for each instance you create, do:
46 main::register_module_hooks($self,$hooks);
53 my $savescmlog = shift; # array ref to the log lines
55 print main::time_str(), "checking out ",__PACKAGE__,"\n" if $verbose;
57 push(@$savescmlog,"Skeleton processed checkout\n");
64 # copy the code or setup a vpath dir if supported as appropriate
66 print main::time_str(), "setting up ",__PACKAGE__,"\n" if $verbose;
73 my $run_needed = shift; # ref to flag
78 print main::time_str(), "checking if run needed by ",__PACKAGE__,"\n"
87 print main::time_str(), "configuring ",__PACKAGE__,"\n" if $verbose;
94 print main::time_str(), "building ",__PACKAGE__,"\n" if $verbose;
101 print main::time_str(), "installing ",__PACKAGE__,"\n" if $verbose;
108 print main::time_str(), "checking ",__PACKAGE__,"\n" if $verbose;
116 print main::time_str(), "installchecking $locale",__PACKAGE__,"\n"
125 print main::time_str(), "end of locale $locale processing",__PACKAGE__,"\n"
133 print main::time_str(), "cleaning up ",__PACKAGE__,"\n" if $verbose > 1;