Commit | Line | Data |
d0eab7ef |
1 | use Module::Build; |
2 | # See perldoc Module::Build for details of how this works |
3 | |
4 | Module::Build->new |
5 | ( module_name => 'SDL::Rect', |
6 | license => 'perl', |
7 | build_requires => |
8 | { |
9 | 'Test::Simple' => '0.47', |
10 | 'Module::Build' => '0.22', |
11 | 'YAML' => '0.68', |
12 | 'Alien::SDL' => '0.02', |
13 | 'ExtUtils::CBuilder' => '0.260301' |
14 | }, |
15 | build_recommends => |
16 | { |
17 | 'Pod::ToDemo' => '0.20' |
18 | }, |
6e437027 |
19 | xs_files => {'Rect.xs' => 'lib/SDL/Rect.xs'}, |
d0eab7ef |
20 | extra_compiler_flags => scalar `sdl-config --cflags`, |
21 | extra_linker_flags => scalar `sdl-config --libs`, |
22 | dist_author => 'Kartik Thakore <KTHAKORE@cpan.org>', |
23 | |
24 | )->create_build_script; |