Package: fltk-aqua Version: 1.1.9 Revision: 4 Architecture: i386, powerpc Maintainer: Alexander Hansen # Description: GUI toolkit (Aqua graphics)--IDE and headers DescDetail: << FLTK (pronounced "fulltick") is a LGPL'd C++ graphical user interface toolkit for OS X, UNIX, OpenGL, and WIN32 (Microsoft(R) Windows(R) 95, 98, ME, NT 4.0, and 2000). It is currently maintained by a small group of developers across the world with a central repository on SourceForge. << DescPackaging: << Now generates shared libraries, suitably install_named to avoid collisons with fltk-x11. %p/bin/fltk-config.aqua and %p/include/FL/mac.r need to be in the -shlibs because dependent packages that build app bundles may need to use them at install time. The FLUID development tool is built additionally as an app bundle, included in the main package. Previous versions by Sylvain Cuaz (the static-only fltk package). << Homepage: http://www.fltk.org/ License: LGPL # # src/Fl_PNG_Image.cxx would need hacking to get up to libpng15 BuildDepends: libjpeg8, libpng14, fink ( >= 0.25.0 ) Depends: %N-shlibs, macosx, libjpeg8-shlibs, libpng14-shlibs Conflicts: fltk-x11, fltk, fltk13-aqua, fltk13-x11 Replaces: fltk-x11, fltk, fltk13-aqua, fltk13-x11 BuildDependsOnly: true # Source: mirror:custom:fltk/%v/fltk-%v-source.tar.bz2 CustomMirror: << nam-US: ftp://ftp.easysw.com/pub << SourceDirectory: fltk-%v Source-MD5: e146fd264e1001b1313acfd41ef75552 # PatchFile: %n.patch PatchFile-MD5: be89e09de3dcaf2a8c5b3890b5638a22 PatchScript: << #!/bin/sh -ev sed 's|@FINKPREFIX@|%p|' %{PatchFile} | patch -p1 mv fltk-config.in fltk-config.in.old sed 's: prefix=$optarg: prefix=$optarg; includedir=${prefix}/include:' < fltk-config.in.old > fltk-config.in mv fluid/Makefile fluid/Makefile.old sed 's;$(bindir)/fltk-config;$(bindir)/fltk-config --prefix=$(prefix);' < fluid/Makefile.old > fluid/Makefile mv src/Fl_Preferences.cxx src/Fl_Preferences.cxx.old sed 's|Carbon.H|Carbon.h|g' < src/Fl_Preferences.cxx.old > src/Fl_Preferences.cxx perl -ni -e 'print unless /echo.*COMMAND/' src/Makefile perl -pi -e 's/\|\| break//' Makefile perl -pi -e 's/ 755 / 644 / if /\/lib.*\.{a,dylib}/' src/Makefile perl -ni -e 'print unless /mandir\)\/cat/' documentation/Makefile perl -pi -e 's|share/doc/fltk|share/doc/%n/html|g' configure << # GCC: 4.0 ConfigureParams: --mandir=%p/share/man --libdir=%p/lib/%n/lib --enable-shared --enable-threads --without-links --without-x # #### Default CompileScript #### # InstallScript: << #!/bin/bash -ev install -d %i/lib/%n install -d %i/lib/%n/lib install -d %i/lib/%n/include make install DESTDIR=%d docdir=%p/share/doc/%n/html mv %i/include/FL/mac.r %i/lib/%n/include/ pushd %i ln -s lib/%n/include/mac.r include/FL/mac.r pushd %i/bin perl -pi -e 's|\$includedir/FL/mac.r|%p/lib/%n/include/mac.r|g' fltk-config mv fltk-config fltk-config.aqua ln -s fltk-config.aqua fltk-config popd << AppBundles: fluid/fluid.app PostInstScript: << fltk-config --post %p/Applications/fluid.app/Contents/MacOS/fluid fltk-config --post %p/bin/fluid << DocFiles: CHANGES COPYING CREDITS README README.mac # Splitoff: << Package: %N-shlibs Depends: libjpeg8-shlibs, libpng14-shlibs, macosx Conflicts: fltk Replaces: fltk BuildDependsOnly: false Description: GUI toolkit, (Aqua graphics)--shared libs Files: << lib/%N/lib/*.1.1.dylib bin/fltk-config.aqua lib/%N/include/mac.r << Shlibs: << %p/lib/fltk-aqua/lib/libfltk.1.1.dylib 1.1.0 %n (>=1.1.7-1001) %p/lib/fltk-aqua/lib/libfltk_forms.1.1.dylib 1.1.0 %n (>=1.1.7-1001) %p/lib/fltk-aqua/lib/libfltk_gl.1.1.dylib 1.1.0 %n (>=1.1.7-1001) %p/lib/fltk-aqua/lib/libfltk_images.1.1.dylib 1.1.0 %n (>=1.1.7-1001) << DescUsage: << This package contains the shared libraries. Any package that Depends on this one and builds an app bundle may need to have the following in a PostInstScript: fltk-config.aqua --post where is the real executable, not just the app bundle. This is because even if the package is set up properly, packing the .deb appears to clobber the resource fork. DocFiles: CHANGES COPYING CREDITS README README.mac << <<