App-CPANtoRPM
view release on metacpan or search on metacpan
lib/App/CPANtoRPM.pm view on Meta::CPAN
#
# Get the config command (perl Makefile.PL), the build command
# (make), and the install command (make install).
#
# First, we'll get the commands ignoring an alternate directory.
# We'll do this so we can figure out what installation type (if any)
# is hardcoded into the module.
#
# We'll run the configure and build commands to make sure
# everything works, and to verify where the module wants to be
# installed by default.
#
$self->_log_message('INFO',"Generating commands to build the module");
$self->_commands('',0);
my $status = $self->_run_command("$TMPDIR/config",$package{'config_cmd'});
if ($status eq 'WAITING') {
my @err = `cat "$TMPDIR/config.out"`;
( run in 2.159 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )