Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (41 sloc) 1.487 kb
0de1f04 @kthakore First commit
kthakore authored
1 use strict;
2 use warnings;
e8b3b5e @kthakore Using Alien::Box2D
kthakore authored
3 use Alien::Box2D;
0de1f04 @kthakore First commit
kthakore authored
4 use Module::Build::WithXSpp;
5
9e29794 @kthakore Added enum, need to make it a constant
kthakore authored
6 push @INC, "build";
841d22e @kthakore Some weird box2d_boot error now
kthakore authored
7
0de1f04 @kthakore First commit
kthakore authored
8 my $builder = Module::Build::WithXSpp->new(
9 module_name => 'Box2D',
ab40b0c @jtpalmer Added dist_abstract to Build.PL
jtpalmer authored
10 dist_abstract => '2D Physics Library',
0de1f04 @kthakore First commit
kthakore authored
11 license => 'perl',
12 dist_author => q{Kartik Thakore <kthakore@CPAN.org>},
13 dist_version_from => 'lib/Box2D.pm',
d0ae17a @FROGGS add configure_requires Module::Build 0.38, updated MANIFEST and ~.SKIP
FROGGS authored
14 configure_requires => {
15 'Module::Build' => 0.38,
f70994b @FROGGS added Alien::Box2D to configure_requires
FROGGS authored
16 'Alien::Box2D' => 0.103,
d0ae17a @FROGGS add configure_requires Module::Build 0.38, updated MANIFEST and ~.SKIP
FROGGS authored
17 },
0de1f04 @kthakore First commit
kthakore authored
18 build_requires => {
87f4883 @garu tidying up Build.PL
garu authored
19 'Test::More' => 0,
20 'Alien::Box2D' => 0.103,
fb269e0 @FROGGS we need ExtUtils::XSpp 0.14 for enums
FROGGS authored
21 'ExtUtils::XSpp' => 0.14,
76d5e2d @kthakore Required for windows it seems. See https://github.com/PerlGameDev/Box…
kthakore authored
22 'ExtUtils::Typemap::ObjectMap' => '0',
23 'ExtUtils::Typemap::STL::String' => '0',
24 'ExtUtils::Typemap::Basic' => '0',
0de1f04 @kthakore First commit
kthakore authored
25 },
26 add_to_cleanup => [ 'Box2D-*' ],
87f4883 @garu tidying up Build.PL
garu authored
27 extra_typemap_modules => {
28 'ExtUtils::Typemap::ObjectMap' => '0',
29 'ExtUtils::Typemap::STL::String' => '0.04',
30 'ExtUtils::Typemap::Basic' => '0.04',
31 },
32 extra_compiler_flags => [ Alien::Box2D->config('cflags') ],
ca36bea @jtpalmer Updated meta resources with github info
jtpalmer authored
33 extra_linker_flags => [ Alien::Box2D->config('libs') ],
34 meta_merge => {
35 resources => {
36 bugtracker => 'https://github.com/PerlGameDev/Box2D-perl/issues',
37 repository => 'https://github.com/PerlGameDev/Box2D-perl'
38 }
39 },
0de1f04 @kthakore First commit
kthakore authored
40 );
41
96964e3 @FROGGS added early_include for solaris
FROGGS authored
42 # early_includes will be included right before perl.h in main.xs
43 $builder->early_includes( [ qw( "sys/vnode.h" ) ] ) if $^O eq 'solaris';
44
0de1f04 @kthakore First commit
kthakore authored
45 $builder->create_build_script();
Something went wrong with that request. Please try again.