opensync-bin stable port information

Info4: <<
Package: opensync-bin
Version: 0.39
Revision: 2
Description: Synchronization framework
License: GPL/LGPL
Maintainer: Benjamin Reed

Depends: libopensync1-shlibs (>= %v-%r)
BuildDepends: <<
cmake (>= 2.8.2-1),
fink (>= 0.29.7-1),
gettext-bin,
gettext-tools,
glib2-dev (>= 2.22.0-1),
kde4-buildenv (>= 4.5.2-1),
libgettext8-dev,
libiconv-dev,
libxml2 (>= 2.6.32-1),
pkgconfig (>= 0.23-1),
python26,
sqlite3-dev,
swig (>= 2.0.0-1)
<<
Replaces: opensync (<< 0.22-6)

Source: http://opensync.org/download/releases/%v/libopensync-%v.tar.bz2
Source-MD5: 733211e82b61e2aa575d149dda17d475
PatchFile: opensync-bin.patch
PatchFile-MD5: a8c1fe085fcabe6419779392259335dc

UseMaxBuildJobs: true
CompileScript: <<
#!/bin/sh -ex

export KDE4_PREFIX="%p" KDE4_INSTALL_PREFIX="%p" KDE4_PYTHON_EXECUTABLE="%p/bin/python2.6"
. %p/sbin/kde4-buildenv.sh
mkdir build
pushd build
for dir in %p/share/swig/*; do
SWIG_DIR="$dir"
done
cmake $KDE4_CMAKE_ARGS -DSWIG_DIR="$SWIG_DIR" ..
make
popd
<<

InstallScript: <<
#!/bin/sh -ex
pushd build
make -j1 install/fast DESTDIR="%d"
popd
<<
DocFiles: AUTHORS COPYING ChangeLog README
SplitOff: <<
Package: libopensync1-shlibs
Description: Shared libraries for opensync
Depends: <<
glib2-shlibs (>= 2.22.0-1),
libgettext8-shlibs,
libiconv,
libxml2-shlibs (>= 2.6.32-1),
libxslt-shlibs (>= 1.1-1),
sqlite3-shlibs
<<
DocFiles: COPYING
Files: lib/libopensync.1*.dylib
Shlibs: %p/lib/libopensync.1.dylib 1.0.0 %n (>= 0.39-1)
<<
SplitOff2: <<
Package: opensync-python-py26
Description: Python module for opensync
Depends: <<
libopensync1-shlibs (>= %v-%r),
python26-shlibs
<<
DocFiles: COPYING
Files: <<
lib/python2.6/site-packages/*.so
lib/python2.6/site-packages/*.py
<<
<<
SplitOff3: <<
Package: libopensync1-dev
Description: Developer headers and libraries for opensync
Depends: <<
%N (>= %v-%r),
libopensync1-shlibs (= %v-%r)
<<
Conflicts: opensync-dev
Replaces: opensync-dev
BuildDependsOnly: true
DocFiles: COPYING
Files: include lib
<<
SplitOff4: <<
Package: opensync
Description: OpenSync upgrade package
Depends: <<
fink-obsolete-packages,
opensync-bin (>= %v-%r)
<<
DocFiles: COPYING
<<

Homepage: http://www.opensync.org/
DescDetail: <<
OpenSync is a synchronization framework that is platform and
distribution independent. It consists of a powerful sync-engine and
several plugins that can be used to connect to devices.

OpenSync is very flexible and capable of synchronizing any type of
data, including contacts, calendar, tasks, notes and files.

The goals of OpenSync:

* Provide a framework that can be used for general synchronization
* Reusability. The framework should be usable by many applications
* Speed. Synchronization should be as fast as possible.
* Flexibility. We cannot predict what formats / devices the future
will bring. Therefore OpenSync is built as flexible and modular
as possible.
* Integrity. Data must never be lost, no matter what happens.
* Portability. The framework should run on as many platforms as
possible (Linux, Windows, Mac OS, BSD, etc)
* Language neutral. OpenSync is extensible in using other languages
like python, java and even more.
* No dependencies on a X-server. OpenSync is a library that can be
embed into other applications. Therefore it is possible to use
GUIs, CLIs or whatever you can imagine.
<<
<<

opensync-bin stable port .patch

diff -Nurd libopensync-0.39/CMakeLists.txt libopensync-0.39-new/CMakeLists.txt
--- libopensync-0.39/CMakeLists.txt 2009-09-20 16:14:18.000000000 -0400
+++ libopensync-0.39-new/CMakeLists.txt 2010-10-21 00:59:48.000000000 -0400
@@ -47,6 +47,13 @@

CMAKE_MINIMUM_REQUIRED( VERSION 2.4.4 )

+SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+SET(CMAKE_INSTALL_RPATH "" )
+
+IF(APPLE)
+ SET(CMAKE_INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
+ENDIF(APPLE)
+
IF(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
ENDIF(COMMAND cmake_policy)

opensync-bin _unstable_ port .patch