Info2: << Package: dbd-mysql-pm%type_pkg[perl] Version: 4.007 Revision: 11 Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc Distribution: (%type_pkg[perl] = 581) 10.3, (%type_pkg[perl] = 581) 10.4, (%type_pkg[perl] = 584) 10.3, (%type_pkg[perl] = 584) 10.4 Description: Perl5 Database Interface to MySQL Type: perl (5.8.1 5.8.4 5.8.6 5.8.8) License: Artistic Maintainer: Christian Schaffner # Dependencies: Depends: perl%type_pkg[perl]-core, mysql-ssl15-shlibs | mysql15-shlibs, mysql-ssl-client | mysql-client (>= 5.0.16-1001), dbi-pm%type_pkg[perl] (>= 1.37-2), data-showtable-pm BuildDepends: mysql-ssl15-dev | mysql15-dev, libxml2, readline5 (>= 5.0-1004), fink (>= 0.20.1-1) Replaces: dbd-mysql-pm (<= 2.1026-1), dbd-mysql-pm560, dbd-mysql-pm580, %N-man Conflicts: %N-man PostInstScript: << rm -rf %p/lib/perl5/darwin/auto/DBD/mysql/ rm -f %p/lib/perl5/darwin/Bundle/DBD/mysql.pm rm -rf %p/lib/perl5/darwin/DBD/mysql/ rm -f %p/lib/perl5/darwin/DBD/mysql.pm rm -f %p/lib/perl5/darwin/DBD/mysql.pod rm -rf %p/lib/perl5/darwin/Mysql/ rm -f %p/lib/perl5/darwin/Mysql.pm << # Unpack Phase: Source: mirror:cpan:authors/id/C/CA/CAPTTOFU/DBD-mysql-%v.tar.gz Source-MD5: 67a4d921acda942aeb0e65a0023f2098 # Patch Phase: PatchScript: << head -n 25 dbdimp.h >> LICENSE << # Compile Phase: CompileScript: << #!/bin/sh -ev # Need full path to perl ABSPERL=`which perl%type_raw[perl]` perl%type_raw[perl] Makefile.PL --nocatchstderr --mysql_config=%p/bin/mysql_config PERL=perl%type_raw[perl] PREFIX=%p INSTALLPRIVLIB=%p/lib/perl5/%type_raw[perl] INSTALLARCHLIB=%p/lib/perl5/%type_raw[perl]/darwin-thread-multi-2level INSTALLSITELIB=%p/lib/perl5/%type_raw[perl] INSTALLSITEARCH=%p/lib/perl5/%type_raw[perl]/darwin-thread-multi-2level INSTALLMAN1DIR=%p/share/man/man1 INSTALLMAN3DIR=%p/share/man/man3 INSTALLSITEMAN1DIR=%p/share/man/man1 INSTALLSITEMAN3DIR=%p/share/man/man3 INSTALLBIN=%p/bin INSTALLSITEBIN=%p/bin INSTALLSCRIPT=%p/bin make ABSPERL="$ABSPERL" << NoPerlTests: true # Install Phase: UpdatePOD: true DocFiles: README MANIFEST INSTALL.html ChangeLog LICENSE InstallScript: << #!/bin/sh -ev # Need full path to perl ABSPERL=`which perl%type_raw[perl]` %{default_script} ABSPERL="$ABSPERL" mv %i/share/man %i/lib/perl5/%type_raw[perl] << # Additional Data: DescDetail: << DBD::mysql is an interface between the Perl programming language and the mysql programming API that come with the mysql relational database management systems. Most functions provided by the programming API are supported. Some rarely used functions are missing, mainly because noone ever requested them. :-) << DescPort: << Disabled default tests since 'make test' normally wouldn't pass: it needs a running mysql server Can't use default CompileScript on 10.3 so we can add --nocatchstderr (work around perl config bug) ABSPERL hack to make makemaker in perl 5.8.8 happy. It was using the wrong ABSPERL path, pointing to the build directory instead of /sw/bin/perl... << Homepage: http://search.cpan.org/dist/DBD-mysql <<