2011-10-02 09:57:47 +00:00
|
|
|
use Module::Build;
|
|
|
|
|
|
|
|
my $build = Module::Build->new(
|
|
|
|
module_name => 'Slic3r',
|
2012-04-09 09:04:32 +00:00
|
|
|
dist_abstract => 'G-code generator for 3D printers',
|
2011-10-02 09:57:47 +00:00
|
|
|
dist_author => 'Alessandro Ranellucci <aar@cpan.org>',
|
|
|
|
dist_version => '0.1',
|
|
|
|
license => 'perl',
|
|
|
|
requires => {
|
2012-04-09 09:04:32 +00:00
|
|
|
'Boost::Geometry::Utils' => '0',
|
2011-10-03 09:55:32 +00:00
|
|
|
'File::Basename' => '0',
|
2011-10-02 09:57:47 +00:00
|
|
|
'Getopt::Long' => '0',
|
2012-04-07 18:07:47 +00:00
|
|
|
'Math::Clipper' => '1.05',
|
2011-10-06 10:39:58 +00:00
|
|
|
'Math::ConvexHull' => '1.0.4',
|
2011-12-30 16:17:37 +00:00
|
|
|
'Math::Geometry::Voronoi' => '1.3',
|
2011-11-13 17:14:02 +00:00
|
|
|
'Math::PlanePath' => '53',
|
2011-10-02 09:57:47 +00:00
|
|
|
'Moo' => '0',
|
|
|
|
'Time::HiRes' => '0',
|
2011-10-03 09:55:32 +00:00
|
|
|
'XXX' => '0',
|
2011-10-02 09:57:47 +00:00
|
|
|
},
|
|
|
|
build_requires => {
|
|
|
|
'Test::More' => '0.10',
|
|
|
|
},
|
2012-04-10 15:32:16 +00:00
|
|
|
recommends => {
|
|
|
|
'Growl::GNTP' => '0.15',
|
|
|
|
'Wx' => '0.9901',
|
|
|
|
},
|
2011-10-02 09:57:47 +00:00
|
|
|
script_files => ['slic3r.pl'],
|
|
|
|
);
|
|
|
|
$build->dispatch('installdeps');
|
|
|
|
$build->dispatch('test', verbose => 0);
|
|
|
|
|
|
|
|
$build->create_build_script;
|