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

Added Files:
        pilot-link-pm.info pilot-link-pm.patch 
Log Message:
New to 10.7.  Cleanup in 10.4.

--- NEW FILE: pilot-link-pm.patch ---
diff -Nurd Perl/Makefile.PL.in Perl.new/Makefile.PL.in 
--- Perl/Makefile.PL.in        2006-03-15 07:44:07.000000000 -0500
+++ Perl.new/Makefile.PL.in    2007-02-22 15:04:44.000000000 -0500
@@ -4,7 +4,7 @@
 
 $prefix = "@prefix@";
 $exec_prefix = "@exec_prefix@";
-$libdir = "../../libpisock/.libs";
+$libdir = "${prefix}/lib";
 
 $lib = "-L$libdir -lpisock";
 
@@ -38,7 +38,7 @@
     'NAME'       => 'PDA::Pilot',
     'VERSION'    => 
'@PILOT_LINK_VERS@.@PILOT_LINK_MAJOR@.@PILOT_LINK_MINOR@@PILOT_LINK_PATCH@',
     'XSPROTOARG' => '-noprototypes',
-    'INC'        => "-I$plincdir",
+    'INC'        => "-I${prefix}/include",
     'DEFINE'     => '-DPERL_POLLUTE',
     'PREFIX'     => "$prefix",
     'INSTALLDIRS'=> 'vendor',

--- NEW FILE: pilot-link-pm.info ---
Info2: <<
Package: pilot-link-pm%type_pkg[perl]
Version: 0.12.5
Revision: 1
Distribution: (%type_pkg[perl] = 586) 10.4, (%type_pkg[perl] = 586) 10.4, 
(%type_pkg[perl] = 586) 10.5, (%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
###
#Keep %v in sync with that in ./pilot-link09.info
###
Type: perl (5.12.3)
UpdatePOD: true
NoPerlTests: true
###
Depends: pilot-link09-shlibs, perl%type_pkg[perl]-core
BuildDepends: <<
        pilot-link09, fink (>= 0.29.0), 
        extutils-makemaker-pm%type_pkg[perl] ( >> 6.54-1 )
        <<
Replaces: <<
        pilot-link9-perl, 
        (%type_pkg[perl] = 581) pilot-link-perl581, 
        pilot-link9-pm%type_pkg[perl]
<<
Conflicts: <<
        pilot-link9-perl, 
        (%type_pkg[perl] = 581) pilot-link-perl581, 
        pilot-link9-pm%type_pkg[perl]
<<
###
Source: http://downloads.pilot-link.org/pilot-link-%v.tar.bz2
Source-MD5: 568c55bf504b044f6fbd50baa407c990
###
PatchFile: %{ni}.patch
PatchFile-MD5: d8009ec072a472a5f62d08ba173d3220

PatchScript: <<
#!/bin/sh -ev
  cd bindings/Perl 
#  rm Makefile
  patch -p1 <%{PatchFile}
  perl -pi -e 's,(prefix =).*,\1 "%p";,' Makefile.PL.in
  perl -pi -e "s|'vendor'|'site'|" Makefile.PL.in
  head -n 19 Pilot.xs > ../../LICENSE
<<
###
ConfigureParams: <<
--disable-conduits \
--with-perl \
--with-pic \
--with-readline \
--enable-shared \
--enable-static \
--without-java \
--without-python \
--disable-debug \
--disable-dependency-tracking \
--without-included-popt
<<
CompileScript: <<
#!/bin/sh -ev
./configure %c
cd bindings/Perl
%{default_script}
<<
###
InstallScript: << 
#!/bin/sh -ev
cd bindings/Perl
%{default_script}
#make install DESTDIR=%i/lib/perl5/%type_raw[perl]/darwin-thread-multi-2level
install -d %i/lib/perl5/%type_raw[perl]/darwin-thread-multi-2level/PDA
install dump.pl Pilot.pm 
%i/lib/perl5/%type_raw[perl]/darwin-thread-multi-2level/PDA
rm -rf %i/lib/perl5/%type_raw[perl]/darwin-thread-multi-2level%p
install -d %i/lib/perl5/%type_raw[perl]/man/man3
mv %i/share/man/man3/PDA::Pilot.3pm 
%i/lib/perl5/%type_raw[perl]/man/man3/PDA::Pilot.3pm
<<
###
DocFiles: COPYING.LIB LICENSE bindings/Perl/README
###
Description: Palm libraries -- Perl bindings
DescDetail: <<
  Pilot-Link is the tools and toys needed to connect your Palm or Palm
  compatible handheld (including Handspring, Sony, and Palm) with Unix
  and Linux machines.  
  This package builds the Perl bindings for Pilot-Link.
<<
DescPackaging: <<
  Renamed to pilot-link-pmXXX for >0.12.0, since the perlmods themselves aren't
  libversioned.

  Renamed from -perlXXX to -pmXXX in 0.11.8-101/0.11.8-1101

  Tests disabled because they are documented to work only with an
  interactive terminal
  Must conflict/replace the corresponding pilot-link9-pm because of file
  overlap.
<<
DescPort: <<
Upstream refactored their build process for 0.12.2, so we had to follow suit.
Patch Makefile.PL.in to use preinstalled libpisock and to use Fink's prefix, 
and also to use site rather than vendor install location.

<<  
###
License: GPL
Maintainer: Alexander K. Hansen <alexkhan...@users.sourceforge.net>
Homepage: http://www.pilot-link.org/
<<


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to