forked from PDLPorters/PDL-Graphics-Prima
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuild.PL
40 lines (38 loc) · 1015 Bytes
/
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
use strict;
use warnings;
use Module::Build;
my $build = Module::Build->new(
module_name => 'PDL::Graphics::Prima',
dist_version_from => 'lib/PDL/Graphics/Prima.pm',
license => 'perl',
configure_requires => {
# meta_merge was added in v 0.28:
'Module::Build' => 0.28,
},
requires => {
# I want defined-or-equals. I don't think I need to support 5.8 anymore
perl => '5.10.0',
'PDL::Drawing::Prima' => 0.07,
PDL => '2.4.0',
Prima => 1.40,
# Needed for event_loop
# 'Term::ReadLine' => '1.09',
},
meta_merge => {
resources => {
repository
=> 'http://github.com/run4flat/PDL-Graphics-Prima',
# => {
# web => 'http://github.com/run4flat/PDL-Graphics-Prima',
# url => 'git://github.com/run4flat/PDL-Graphics-Prima.git',
# type => 'git',
# },
bugtracker
=> 'http://github.com/run4flat/PDL-Graphics-Prima/issues',
# => {
# web => 'http://github.com/run4flat/PDL-Graphics-Prima/issues',
# },
},
},
);
$build->create_build_script;