apparently the macros are messed up
[sdlgit/SDL_perl.git] / Build.PL
old mode 100755 (executable)
new mode 100644 (file)
index 3c42138..6eec5c2
--- 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',
@@ -131,8 +139,12 @@ my $build   = SDL::Build->new(
        {
                'Test::Simple' => '0.47',
                'Module::Build' => '0.22',
-               'YAML'  => '0.68',
-               'Alien::SDL'    => '0.01'
+               'YAML'  => '0.68'
+       },
+       configure_requires =>
+       {
+               'Alien::SDL'    => '0.07',
+               'ExtUtils::CBuilder' => '0.260301'
        },
        build_recommends     =>
        {