Synced Experimental with Master
[sdlgit/SDL_perl.git] / Build.PL
index 3c42138..6bbac4b 100755 (executable)
--- a/Build.PL
+++ b/Build.PL
@@ -41,6 +41,14 @@ my %subsystems =
                libraries => [qw( SDL SDL_image SDL_mixer SDL_net SDL_ttf SDL_gfx
                                  png jpeg smpeg )],
        },
+       Rect => {
+               file      => {
+                       from  => 'src/Rect.xs',
+                       to    => 'lib/SDL/Rect.xs',
+               },
+               libraries => [qw( SDL  )],
+       },
+       
        OpenGL => {
                file      => {
                        from => 'src/OpenGL.xs',
@@ -132,7 +140,8 @@ my $build   = SDL::Build->new(
                'Test::Simple' => '0.47',
                'Module::Build' => '0.22',
                'YAML'  => '0.68',
-               'Alien::SDL'    => '0.01'
+               'Alien::SDL'    => '>=0.03, !=0.04',
+               'ExtUtils::CBuilder' => '0.260301'
        },
        build_recommends     =>
        {