App-perlall
view release on metacpan or search on metacpan
perl Makefile.PL
make
make test
with sudo:
=========
sudo make install
test -f ~/.perlall || cp .perlall ~/
sudo mkdir -p /usr/src/perl/blead/perl-git
sudo chown $USER -R /usr/src/perl
cd /usr/src/perl/blead/
as root:
=========
make install
test -f ~/.perlall || cp .perlall ~/
mkdir -p /usr/src/perl/blead/perl-git
cd /usr/src/perl/blead/
script/perlall view on Meta::CPAN
$c->_system1( "chdir", $root.'/'.$builddir );
$c->_check_lock();
}
else { # git, much better
$c->_fail("perl-git $srcdir missing") if !-d $srcdir and !$dryrun;
my @cmd = ("mkdir", $builddir);
unshift @cmd, $sudo if $sudo and !-w $root;
$c->_log(1,"mkdir $root/$builddir # PERLALL_BUILDROOT") unless -d $builddir;
$c->_system1( @cmd) unless -d $builddir;
$c->_fail( "invalid builddir $builddir") if !-d $builddir and !$dryrun;
$c->_system($sudo, "chown", $<, $builddir) if $sudo eq $cmd[0];
if ( $from eq 'blead' and $c->options->{link} ) { # mksymlink for blead only
$c->debug("working symlinked to perl-git tree \@$gitsuffix")
if $c->options->{link};
$c->_system1( "chdir", $root.'/'.$builddir);
$c->_fail( "not existing builddir $builddir")
if basename(Cwd::getcwd()) ne $builddir and !$dryrun;
$c->_check_lock();
$c->_system1( "rm -rf * .config")
if -f 'Configure' and !-l "Configure";
( run in 0.967 second using v1.01-cache-2.11-cpan-71847e10f99 )