forked from slic3r/Slic3r
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
44 lines (41 loc) · 1.35 KB
/
Build.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
use Module::Build;
my $build = Module::Build->new(
module_name => 'Slic3r',
dist_abstract => 'G-code generator for 3D printers',
dist_author => 'Alessandro Ranellucci <[email protected]>',
dist_version => '0.1',
license => 'perl',
requires => {
'Boost::Geometry::Utils' => '0.08',
'Encode::Locale' => '0',
'File::Basename' => '0',
'File::Spec' => '0',
'Getopt::Long' => '0',
'Math::Clipper' => '1.18',
'Math::ConvexHull::MonotoneChain' => '0.01',
'Math::Geometry::Voronoi' => '1.3',
'Math::PlanePath' => '53',
'Moo' => '0.091009',
'perl' => '5.10.0',
'Scalar::Util' => '0',
'Time::HiRes' => '0',
},
build_requires => {
'Test::More' => '0.10',
'IO::Scalar' => '0.10',
},
recommends => {
'Class::XSAccessor' => '0',
'Growl::GNTP' => '0.15',
'Net::DBus' => '0',
'XML::SAX::ExpatXS' => '0',
'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;