-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
33 lines (30 loc) · 942 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
use strict;
use warnings;
use Module::Build;
use Alien::ODE;
my $builder = Module::Build->new(
module_name => 'ODE',
dist_abstract => '3D Physics Library',
license => 'lgpl',
dist_author => q{Kartik Thakore <[email protected]>},
dist_version_from => 'lib/ODE.pm',
configure_requires => {
'Module::Build' => 0,
'Alien::ODE' => 0,
},
build_requires => {
'Test::More' => 0,
'Alien::ODE' => 0,
},
add_to_cleanup => ['ODE-*'],
c_source => 'src',
extra_linker_flags => Alien::ODE->config('libs') . ' -lstdc++',
extra_compiler_flags => Alien::ODE->config('cflags'),
meta_merge => {
resources => {
bugtracker => 'https://github.com/PerlGameDev/ODE/issues',
repository => 'https://github.com/PerlGameDev/ODE',
},
},
);
$builder->create_build_script();