Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv13537
Added Files:
alien-sdl-pm.info alien-sdl-pm.patch
Log Message:
new package
--- NEW FILE: alien-sdl-pm.info ---
Info2: <<
Package: alien-sdl-pm%type_pkg[perl]
Version: 1.4.12
Revision: 1
Distribution: (%type_pkg[perl] = 5100) 10.5, (%type_pkg[perl] = 5100) 10.6
Source: mirror:cpan:authors/id/F/FR/FROGGS/Alien-SDL-1.412.tar.gz
Source-MD5: 9e6b8c873fc74836efdf7ff7e5bac428
Type: perl (5.8.8 5.10.0)
BuildDepends: <<
archive-extract-pm%type_pkg[perl],
archive-tar-pm%type_pkg[perl],
archive-zip-pm%type_pkg[perl],
file-fetch-pm%type_pkg[perl],
digest-sha-pm%type_pkg[perl],
module-build-pm%type_pkg[perl] (>= 0.36.0-1),
file-path-pm%type_pkg[perl] (>= 2.08-1),
fink (>= 0.24.12),
sdl,
text-patch-pm (>= 1.4-1)
<<
Depends: <<
extutils-cbuilder-pm,
file-sharedir-pm%type_pkg[perl],
perl%type_pkg[perl]-core
<<
Recommends: <<
sdl
<<
PatchFile: %{ni}.patch
PatchFile-MD5: e31c8feeb456b7feb7d76223c2f67ac4
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
perlcmd="/usr/bin/arch -%m $perlcmd"
fi
eval "`$perlcmd -V:archname`"
export PERL_MM_USE_DEFAULT=1
$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: ./Build test || exit 2
<<
InstallScript: <<
./Build install
find %d -name .packlist -exec rm -rf {} \;
<<
DocFiles: Changes README LICENSE TODO
DescPort: <<
Build.pm forgot to provide implemention for get_path!
<<
DescPackaging: <<
Hardcode Build.PL to use pre-existing sdl-config script.
Uses sdl-config at runtime, but cannot assert Depends:sdl
because that package is BuildDependsOnly:true
<<
Description: Building, finding and using SDL binaries
License: Artistic/GPL
Homepage: http://search.cpan.org/dist/Alien-SDL/
Maintainer: Daniel Macks <[email protected]>
<<
--- NEW FILE: alien-sdl-pm.patch ---
diff -Nurd -x'*~' Alien-SDL-1.412.orig/Build.PL Alien-SDL-1.412/Build.PL
--- Alien-SDL-1.412.orig/Build.PL 2010-06-24 16:39:18.000000000 -0400
+++ Alien-SDL-1.412/Build.PL 2010-08-05 18:29:06.000000000 -0400
@@ -92,14 +92,6 @@
push @candidates, $rv;
};
-if($rv=check_prebuilt_binaries($build->os_type)) {
- push @candidates, @{$rv};
-};
-
-if($build->can_build_binaries_from_sources() &&
($rv=check_src_build($build->os_type))) {
- push @candidates, @{$rv};
-};
-
push @candidates, { title => 'Quit installation' };
#### ask user what way to go
diff -Nurd -x'*~' Alien-SDL-1.412.orig/inc/My/Builder.pm
Alien-SDL-1.412/inc/My/Builder.pm
--- Alien-SDL-1.412.orig/inc/My/Builder.pm 2010-06-24 17:28:05.000000000
-0400
+++ Alien-SDL-1.412/inc/My/Builder.pm 2010-08-05 18:30:05.000000000 -0400
@@ -86,8 +86,8 @@
if($bp->{buildtype} eq 'use_config_script') {
$self->config_data('script', $bp->{script});
# include path trick - adding couple of addititonal locations
- $self->config_data('additional_cflags', '-I' . get_path($bp->{prefix} .
'/include/smpeg') . ' '.
- '-I' . get_path($bp->{prefix} .
'/include') . ' ' .
+ $self->config_data('additional_cflags', '-I' .
$self->get_path($bp->{prefix} . '/include/smpeg') . ' '.
+ '-I' .
$self->get_path($bp->{prefix} . '/include') . ' ' .
$self->get_additional_cflags);
$self->config_data('additional_libs', $self->get_additional_libs);
}
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs