X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=85bbabfc8816857780b4fee0e56649665cf37d1c;hb=f32a534221815e94f55944449d0c8a2a538deaf4;hp=d1aeb89d9cd08dc3a33d8629e4da6325f3ba54f0;hpb=f4666242dd8d4e14cde6b8d75b3430678c838542;p=sdlgit%2FSDL_perl.git diff --git a/Build.PL b/Build.PL index d1aeb89..85bbabf 100644 --- a/Build.PL +++ b/Build.PL @@ -43,12 +43,25 @@ my %subsystems = }, Rect => { file => { - from => 'src/Rect.xs', + 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 )], + }, OpenGL => { file => { from => 'src/OpenGL.xs', @@ -135,11 +148,16 @@ my $build = SDL::Build->new( dist_name => 'SDL_Perl', license => 'lgpl', dist_version_from => 'lib/SDL.pm', - build_requires => + configure_requires => + { + 'YAML' => '0.68', + 'ExtUtils::CBuilder' => '0.260301', + 'Alien::SDL' => '0.7.1', + }, + build_requires => { 'Test::Simple' => '0.47', - 'Module::Build' => '0.22', - 'YAML' => '0.68' + }, build_recommends => { @@ -149,15 +167,9 @@ my $build = SDL::Build->new( xs_files => \%xs, meta_add => { - configure_requires => - { - 'Alien::SDL' => '0.06', - 'ExtUtils::CBuilder' => '0.260301' - }, - no_index => { file => [ , , , , ] }, }, - dist_author => 'David J. Goehrig ', + dist_author => 'David J. Goehrig , Kartik Thakore ', ); if($arch eq 'Darwin')