FreeBSD::Src is an OO interface to building FreeBSD from source.
SYNOPSIS
use FreeBSD::Src;
#creates a new FreeBSD::Src object and build stuff in /tm[/obj and a kernel config
#named whatever.
my $src=FreeBSD::Src->new({obj=>"/tmp/obj", kernel=>"whatever"});
if($src->error){
warn('Error: '.$src->error);
}
#builds and installs the kernel and world
$src->makeBuildKernel;
if($src->error){
warn('Error: '.$src->error);
}
$src->makeInstallKernel;
if($src->error){
warn('Error: '.$src->error);
}
$src->makeBuildWorld;
if($src->error){
warn('Error: '.$src->error);
}
$src->makeInstallWorld;
if($src->error){
warn('Error: '.$src->error);
}
Product's homepage
Requirements:
· Perl