Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs/perlmods
In directory vz-cvs-3.sog:/tmp/cvs-serv11568

Added Files:
        sdl-pm.info sdl-pm.patch 
Log Message:
sync. w/ 10.!4/stable, validated on powerpc-darwin8


--- NEW FILE: sdl-pm.info ---
Info2: <<
Package: sdl-pm%type_pkg[perl]
Version: 2.511
Revision: 1
Distribution: (%type_pkg[perl] = 5100) 10.5, (%type_pkg[perl] = 5100) 10.6, 
(%type_pkg[perl] = 5123) 10.7, (%type_pkg[perl] = 588) 10.4, (%type_pkg[perl] = 
588) 10.5, (%type_pkg[perl] = 588) 10.6
Source: mirror:cpan:authors/id/K/KT/KTHAKORE/SDL-%v.tar.gz
Source-MD5: 7e1b5c789797db8ff0e116520aa43f73
Type: perl (5.8.8 5.10.0 5.12.3)
BuildDepends: <<
        extutils-cbuilder-pm%type_pkg[perl] (>= 1:0.27.03-2),
        module-build-pm%type_pkg[perl] (>= 0.36.0-1),
        test-most-pm%type_pkg[perl],
        test-simple-pm%type_pkg[perl] (>= 0.88-1),
        sdl,
        sdl-gfx13,
        sdl-image,
        sdl-mixer,
        sdl-ttf,
        fink (>= 0.24.12)
<<
Depends: <<
        alien-sdl-pm%type_pkg[perl],
        file-sharedir-pm%type_pkg[perl],
        io-captureoutput-pm%type_pkg[perl],
        perl%type_pkg[perl]-core,
        sdl-gfx13-shlibs,
        sdl-image-shlibs,
        sdl-mixer-shlibs,
        sdl-shlibs,
        sdl-ttf-shlibs,
        tie-simple-pm
<<
PatchFile: %{ni}.patch
PatchFile-MD5: 51ab465add71c2932e5cf2c93a6490aa
PatchScript: <<
        %{default_script}
        perl -pi -e 's/SDL_Pango.h/SDL_Pango_FINK_DOES_NOT_DETECT_THIS_NOW.h/' 
Build.PL
<<
CompileScript: <<
#!/bin/sh -ex
        exec 2>&1
        perlversion=%type_raw[perl]
        perlcmd="perl$perlversion"
        if dpkg --compare-versions "$perlversion" ">=" "5.10.0" && [ "%m" != 
"powerpc" ]; then
                export ARCHFLAGS=""
                perlcmd="/usr/bin/arch -%m $perlcmd"
        fi
        eval "`$perlcmd -V:archname`"
        $perlcmd Build.PL \
                --install_path arch=%i/lib/perl5/$perlversion/$archname \
                --install_path bin=%i/bin \
                --install_path bindoc=%i/lib/perl5/$perlversion/man/man1 \
                --install_path lib=%i/lib/perl5/$perlversion \
                --install_path libdoc=%i/lib/perl5/$perlversion/man/man3 \
                --install_path script=%i/bin
        ./Build
<<
InfoTest: <<
        TestScript: <<
        #!/bin/sh -ex
                perlversion=%type_raw[perl]
                if dpkg --compare-versions "$perlversion" ">=" "5.10.0" && [ 
"%m" != "powerpc" ]; then
                        export FULLPERL="/usr/bin/arch -%m perl$perlversion"
                fi
                ./Build test || exit 2
        <<
<<
InstallScript: <<
#!/bin/sh -ex
        echo "Sorry, we have to do testing, which may trigger Aqua GUI use, in 
order to get SDLPerl.app compiled."

        ./Build install
        find %d -name .packlist -exec rm -rf {} \;

        mkdir -p %i/Applications
        cp -pr SDLPerl.app %i/Applications/SDLPerl-%type_raw[perl].app
        mkdir %i/bin
        ln -s 
%p/Applications/SDLPerl-%type_raw[perl].app/Contents/MacOS/SDLPerl 
%i/bin/SDLPerl-%type_raw[perl]
<<
DocFiles: CHANGELOG CONTRIBUTORS COPYING README TODO
DescPackaging: <<
        Make sure we don't autodetect sdl-pango. Not presently in
        fink, need to be consistent if we ever get it.

        SDLPerl.app doesn't have an interface to select perl scripts
        and isn't d rag'n'droppable, so have to run its internal
        binary from command-line. Add symlink from %p/bin to make it
        easy.

        Upstream fix to get SDLPerl built during build instead of only
        during testing.
<<
DescUsage: <<
To run an SDL-based perl program, use the "SDLPerl" driver for your
desired perl version. For example: SDLPerl-5.10.0 foo.pl
<<
Description: Simple DirectMedia Layer for Perl
License: LGPL
Homepage: http://search.cpan.org/dist/SDL/
Maintainer: None <[email protected]>
<<

--- NEW FILE: sdl-pm.patch ---
diff -Nurd -x'*~' SDL-2.511.orig/inc/My/Builder.pm SDL-2.511/inc/My/Builder.pm
--- SDL-2.511.orig/inc/My/Builder.pm    2010-08-06 14:34:42.000000000 -0400
+++ SDL-2.511/inc/My/Builder.pm 2010-08-08 23:44:53.000000000 -0400
@@ -161,6 +161,7 @@
                ${ Alien::SDL::ConfigData->config('build_params') }{'title'} || 
'n.a.'
        );
        $self->SUPER::ACTION_build;
+       $self->ACTION_bundle;
 }
 
 # both special to MacOS/Darwin, somebody should review whether it is still 
necessary


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to