libwbxml2 stable port information

Package: libwbxml2
Version: 0.10.7
Revision: 1
BuildDepends: <<
fink (>= 0.28.0-1),
cmake (>= 2.6.0-1),
expat1
<<
Depends: %N-shlibs (>= %v-%r)

Source: mirror:sourceforge:libwbxml/libwbxml-%v.tar.bz2
Source-MD5: 1f65a3f836df395a7839f3d331b0c6e7
PatchFile: %n.patch
PatchFile-MD5: ea470b7f4b385a68b211a89fd7a756c9
CompileScript: <<
#!/bin/sh -ev
mkdir build
pushd build
cmake -DCMAKE_INSTALL_PREFIX=%p ..
make
popd
<<
InfoTest: <<
TestScript: <<
#!/bin/sh -ev
pushd build
make test || exit 2
popd
<<
<<
InstallScript: <<
#!/bin/sh -ev

pushd build
make -j1 install/fast DESTDIR="%d"
popd
mv %i/share/doc/libwbxml %i/share/doc/%N
<<
SplitOff: <<
Package: %N-shlibs
Description: Shared libraries for libwbxml2
Depends: expat1-shlibs
Files: lib/libwbxml2.0*.dylib
Shlibs: %p/lib/libwbxml2.0.dylib 0.0.0 %n (>= 0.10.7-1)
DocFiles: COPYING GNU-LGPL
<<
SplitOff2: <<
Package: libwbxml2-dev
Description: Development headers and libs for libwbxml2
BuildDependsOnly: true
Depends: %N-shlibs (= %v-%r)
Files: include lib
DocFiles: COPYING GNU-LGPL
<<
DocFiles: AUTHORS BUGS COPYING GNU-LGPL NEWS README RELEASE THANKS TODO
Description: Parse, encode and handle WBXML (binary XML)
DescDetail: <<
The WBXML Library (libwbxml) contains a library and its associated tools
to parse, encode and handle WBXML documents. The WBXML format is a
binary representation of XML, defined by the Wap Forum, and used to
reduce bandwidth in mobile communications.
<<
License: LGPL
Maintainer: Benjamin Reed
Homepage: http://libwbxml.opensync.org/

libwbxml2 stable port .patch

diff -Nurd libwbxml-0.10.7/src/CMakeLists.txt libwbxml-0.10.7-patched/src/CMakeLists.txt
--- libwbxml-0.10.7/src/CMakeLists.txt 2009-05-12 07:43:10.000000000 -0400
+++ libwbxml-0.10.7-patched/src/CMakeLists.txt 2010-03-27 13:02:52.000000000 -0400
@@ -25,6 +25,7 @@

SET_TARGET_PROPERTIES( wbxml2 PROPERTIES SOVERSION ${LIBWBXML_LIBVERSION_SOVERSION} )
SET_TARGET_PROPERTIES( wbxml2 PROPERTIES VERSION ${LIBWBXML_LIBVERSION_VERSION} )
+SET_TARGET_PROPERTIES( wbxml2 PROPERTIES INSTALL_NAME_DIR ${LIBWBXML_LIBRARIES_DIR} )
TARGET_LINK_LIBRARIES( wbxml2 ${EXPAT_LIBRARIES} )

INSTALL( TARGETS wbxml2

libwbxml2 _unstable_ port .patch