File: mkperl

package info (click to toggle)
libsysadm-install-perl 0.39-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 336 kB
  • sloc: perl: 734; makefile: 11
file content (12 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/local/bin/perl

use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init({level => $DEBUG, layout => '%F %L: %m%n'});
use Sysadm::Install qw(download hammer untar cd sysrun);

download "http://www.perl.com/CPAN/src/stable.tar.gz";
untar "stable.tar.gz";
cd "stable";
print `pwd`, "\n";
hammer("./Configure", "-d", "-D", "prefix=/home/mschilli/PERL-test");
sysrun("make install");