libplist-py stable port information

Info2: <<
Package: libplist-py%type_pkg[python]
Type: python (2.5 2.6 2.7)
Version: 1.8
Revision: 1
Description: Python bindings for libplist
License: GPL/LGPL

# Dependencies:
BuildDepends: <<
fink (>= 0.24.12),
cmake,
pkgconfig (>= 0.9.0-1),
libxml2 (>= 2.6.32-1),
swig,
libplist (>= %v-1)
<<
Depends: python%type_pkg[python], libplist1-shlibs (>= %v-1)
GCC: 4.0

# Unpack Phase:
Source: http://www.libimobiledevice.org/downloads/libplist-%v.tar.bz2
Source-MD5: 2a9e0258847d50f9760dc3ece25f4dc6

# Compile Phase:
CompileScript: <<
#!/bin/sh -ev
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=%p \
-DPYTHON_EXECUTABLE=%p/bin/python%type_raw[python] \
-DPYTHON_INCLUDE_DIR=%p/include/python%type_raw[python] \
-DPYTHON_LIBRARY=%p/lib/python%type_raw[python]/config/libpython%type_raw[python].dylib
make
<<

# Install Phase:
InstallScript: <<
#!/bin/sh -ev
SWIGLIB_PATH=`%p/bin/swig -swiglib | cut -d / -f 3-5`
mkdir -p -m 755 %i/$SWIGLIB_PATH
cp swig/plist.i %i/$SWIGLIB_PATH
cd build
make -C swig install DESTDIR=%d
<<
DocFiles: AUTHORS COPYING* README

SplitOff: <<
Package: %N-dev
BuildDependsOnly: true
Depends: %N
Conflicts: libplist-py25-dev, libplist-py26-dev, libplist-py27-dev
Replaces: libplist-py25-dev, libplist-py26-dev, libplist-py27-dev
Files: include share/swig
<<

# Additional Info

DescPort: <<
The automatic detection of python does not work. It easily returns a mix of
system and fink paths of the python executable, the include and the lib folder.
<<

Homepage: http://www.libimobiledevice.org/
Maintainer: Karl-Michael Schindler
<<