X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=a4a35b94f1715d45c205cba5a5160717ea680e65;hb=fcd68a9037ae3d5260f6cc2c96dec31ca54fc662;hp=525de84065d416a616bf4825495b492783262d74;hpb=91e7ec4e8b1d9d168cfb3ef99ddbf595a72ae698;p=sdlgit%2FSDL_perl.git diff --git a/Build.PL b/Build.PL index 525de84..a4a35b9 100644 --- a/Build.PL +++ b/Build.PL @@ -41,6 +41,41 @@ my %subsystems = libraries => [qw( SDL SDL_image SDL_mixer SDL_net SDL_ttf SDL_gfx png jpeg smpeg )], }, + Rect => { + file => { + from => 'src/Core/objects/Rect.xs', + to => 'lib/SDL/Rect.xs', + }, + libraries => [qw( SDL )], + }, + Color => { + file => { + from => 'src/Core/objects/Color.xs', + to => 'lib/SDL/Color.xs', + }, + libraries => [qw( SDL )], + }, + Surface => { + file => { + from => 'src/Core/objects/Surface.xs', + to => 'lib/SDL/Surface.xs', + }, + libraries => [qw( SDL SDL_image )], + }, + PixelFormat => { + file => { + from => 'src/Core/objects/PixelFormat.xs', + to => 'lib/SDL/PixelFormat.xs', + }, + libraries => [qw( SDL SDL_image )], + }, + TTF_Font => { + file => { + from => 'src/TTF/objects/TTF_Font.xs', + to => 'lib/SDL/TTF_Font.xs', + }, + libraries => [qw( SDL SDL_ttf )], + }, OpenGL => { file => { from => 'src/OpenGL.xs', @@ -53,7 +88,7 @@ my %subsystems = from => 'src/SFont.xs', to => 'lib/SDL/SFont.xs', }, - libraries => [qw( SDL SDL_image )], + libraries => [qw( SDL SDL_image SDL_ttf )], }, ); @@ -127,13 +162,15 @@ my $build = SDL::Build->new( dist_name => 'SDL_Perl', license => 'lgpl', dist_version_from => 'lib/SDL.pm', - requires => + configure_requires => { - 'Module::Build' => '0.27', - 'Alien::SDL' => '0.7', - 'Test::Simple' => '0.47', 'YAML' => '0.68', - 'ExtUtils::CBuilder' => '0.260301' + 'ExtUtils::CBuilder' => '0.260301', + 'Alien::SDL' => '0.7.1', + }, + build_requires => + { + 'Test::Simple' => '0.47', }, build_recommends => @@ -146,7 +183,7 @@ my $build = SDL::Build->new( { no_index => { file => [ , , , , ] }, }, - dist_author => 'David J. Goehrig ', + dist_author => 'David J. Goehrig , Kartik Thakore ', ); if($arch eq 'Darwin')