Package: podofo9 Version: 0.9.1 Revision: 4 Source: mirror:sourceforge:podofo/podofo-%v.tar.gz Source-MD5: cec586ab69f92bc88d38b5d4b8eee5a0 License: GPL Description: Dummy package, installs podofo version %v DescPackaging: << The "%N" package is a dummy, created to fool the fink validator The real packages are podofo, %N-dev and %N-shlibs. << Depends: podofo (>=%v-%r) DocFiles: dummy BuildDepends: fontconfig2-dev, libjpeg8, libtiff, freetype219, libpng15, cmake (>= 2.6.0-1), lua51-dev PatchScript: << #!/bin/sh -ex perl -pi -e 's|^INCLUDE_DIRECTORIES\($|$&\n\$\{PoDoFo_SOURCE_DIR\}|' CMakeLists.txt # Virtualize explicit '/sw' in sources perl -pi -e 's,/sw,%p,g' cmake/modules/FindLua51.cmake # add forgotten man pages to the list so they get installed perl -pi -e 's|INSTALL.*|$&\n podofocolor.1\n podofogc.1|' debian/man/CMakeLists.txt << CompileScript: << #!/bin/sh -ev mkdir build cd build cmake --debug-output -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ -DCMAKE_INSTALL_PREFIX:PATH=%p \ -DCMAKE_INCLUDE_PATH:PATH=%p/include \ -DCMAKE_LIBRARY_PATH:PATH=%p/lib \ -DPODOFO_BUILD_STATIC:BOOL=TRUE \ -DCMAKE_INSTALL_NAME_DIR:STRING=%p/lib \ -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \ -DCMAKE_INSTALL_RPATH:STRING=%p/lib \ -DCMAKE_EXE_LINKER_FLAGS:STRING="" \ -DFONTCONFIG_INCLUDE_DIR:PATH=%p/lib/fontconfig2/include \ -DFONTCONFIG_LIBRARIES:FILEPATH=%p/lib/fontconfig2/lib/libfontconfig.dylib \ .. # evil hack to find installed headers after the headers in the source # if you know how to do this more elegantly in cmake, please tell me perl -pi -e 's|(\-I%p/include )(\S* )|-I.. \2\1|g' `find . -name flags.make` # # Hack for finding not-yet-installed dylibs during making. # Cmake's method via CMAKE_BUILD_WITH_INSTALL_RPATH=OFF is still # half-baked; doesn't work for the podofo binary executables export DYLD_LIBRARY_PATH=`pwd`/bin # make << InstallScript: << #!/bin/sh -ev pushd build make install DESTDIR=%d popd echo This is a dummy package. You can remove it. > dummy << Splitoff: << Package: %N-dev Description: Podofo headers and static lib BuildDependsOnly: True Conflicts: podofo-dev Replaces: podofo-dev DocFiles: COPYING README.html Files: << include lib/libpodofo.a lib/libpodofo.dylib << << Splitoff2: << Package: %N-shlibs Description: Podofo shared library DocFiles: COPYING README.html Depends: fontconfig2-shlibs, libjpeg8-shlibs, libjpeg-bin, libtiff-shlibs, freetype219-shlibs, libpng15-shlibs Files: lib Shlibs: << %p/lib/libpodofo.0.9.1.dylib 0.9.1 %n (>= 0.9.1-1) << << Splitoff3: << Package: podofo Depends: %N-shlibs (= %v-%r), fontconfig2-shlibs, libjpeg8-shlibs, libjpeg-bin, libtiff-shlibs, freetype219-shlibs, lua51-shlibs Files: bin share/man DocFiles: AUTHORS COPYING ChangeLog README.html Description: Library to work with the PDF file format DescDetail: << The PoDoFo library is a free, portable C++ library which includes classes to parse PDF files and modify their contents into memory. The changes can be written back to disk easily. The parser can also be used to extract information from a PDF file (for example the parser could be used in a PDF viewer). Besides parsing PoDoFo includes also very simple classes to create your own PDF files. All classes are documented so it is easy to start writing your own application using PoDoFo. The PoDoFo tools are simple tools built around the PoDoFo library. These tools are first of all examples on how to use the PoDoFo library in your own projects. But secondly they offer also features for working with PDF files. << << Maintainer: Martin Costabel Homepage: http://podofo.sourceforge.net/