the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: pilot-link-py%type_pkg[python]
Version: 0.12.5
Revision: 1
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4
Type: python (2.3 2.4 2.5 2.6 2.7)
###
#Keep %v in sync with that in ./pilot-link09.info
###
Depends: <<
pilot-link09-shlibs, python%type_pkg[python]
<<
BuildDepends: pilot-link09
Conflicts: pilot-link-python, pilot-link9-py%type_pkg[python]
Replaces: pilot-link-python, pilot-link9-py%type_pkg[python]
###
Source: http://downloads.pilot-link.org/pilot-link-%v.tar.bz2
Source-MD5: 568c55bf504b044f6fbd50baa407c990
###
PatchScript: <<
#!/bin/sh -ev
cd bindings/Python
head -n 23 src/pisock.i > ../../LICENSE
perl -ni -e 'print unless /_dirs/' setup.py.in
<<
###
DocFiles: bindings/Python/README bindings/Python/TODO LICENSE
###
ConfigureParams: <<
--libdir=%p/lib \
--includedir=%p/include \
--enable-conduits=no \
--without-perl \
--with-pic \
--with-readline \
--enable-shared \
--enable-static \
--without-java \
--with-python \
--with-libiconv=%p \
--with-libpng=%p \
--disable-debug \
--disable-dependency-tracking \
--without-included-popt \
--mandir=%p/share/man
<<
CompileScript: <<
#!/bin/sh -ev
./configure %c
cd bindings/Python
%p/bin/python%type_raw[python] setup.py build
<<
InstallScript: <<
#!/bin/sh -ev
cd bindings/Python
%p/bin/python%type_raw[python] setup.py install --root=%d
<<
###
Description: Palm libraries -- Python 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 Python bindings.
<<
DescPackaging: <<
Upstream refactored their build process for 0.12.2, so we had to follow suit.
Renamed to pilot-link-pyXXX for >0.12.0, since the pythonmods themselves aren't
libversioned.
Conflict/replace the corresponing pilot-link9-py package due to
file overlap
configure finds /sw/bin/python or /usr/bin/python, but that doesn't really matter,
since we don't rely on those results.
<<
###
License: BSD
Maintainer: Alexander K. Hansen
Homepage: http://www.pilot-link.org/
<<
--- Python/setup.py.in 2006-08-29 14:23:16.000000000 -0400
+++ Python.new/setup.py.in 2006-08-29 16:56:37.000000000 -0400
@@ -28,8 +28,8 @@
url = "http://www.pilot-link.org/",
ext_modules = [Extension("_pisock",["src/pisock_wrap.c"],
- include_dirs=['../../include'],
- library_dirs=['../../libpisock/.libs'],
+ include_dirs=['@PREFIX@/include'],
+ library_dirs=['@PREFIX@/lib/pilot-link10/'],
libraries=['pisock'],
)
],