PrusaSlicer-NonPlainar/Build.PL
Shlomi Fish a64dcd0a0f Add an envvar to prevent deps from being installed
It's optional and defaults to off but people can set it if they would
like to install the dependencies in a different way.
2012-05-17 17:43:49 +03:00

38 lines
1.1 KiB
Perl

use Module::Build;
my $build = Module::Build->new(
module_name => 'Slic3r',
dist_abstract => 'G-code generator for 3D printers',
dist_author => 'Alessandro Ranellucci <aar@cpan.org>',
dist_version => '0.1',
license => 'perl',
requires => {
'Boost::Geometry::Utils' => '0',
'File::Basename' => '0',
'Getopt::Long' => '0',
'Math::Clipper' => '1.07',
'Math::ConvexHull' => '1.0.4',
'Math::Geometry::Voronoi' => '1.3',
'Math::PlanePath' => '53',
'Moo' => '0',
'perl' => '5.10.0',
'Time::HiRes' => '0',
},
build_requires => {
'Test::More' => '0.10',
},
recommends => {
'Growl::GNTP' => '0.15',
'Wx' => '0.9901',
},
script_files => ['slic3r.pl'],
);
if (not $ENV{SLIC3R_NO_AUTO})
{
$build->dispatch('installdeps');
$build->dispatch('test', verbose => 0);
}
$build->create_build_script;