Package: gle3 Version: 3.1.0 Revision: 1016 Description: GLE tubing and extrusion library DescDetail: << GLE is a library package of C functions that draw extruded surfaces, including surfaces of revolution, sweeps, tubes, polycones, polycylinders and helicoids. Generically, the extruded surface is specified with a 2D polyline that is extruded along a 3D path. A local coordinate system allows for additional flexibility in the primitives drawn. Extrusions may be texture mapped in a variety of ways. The GLE library generates 3D triangle coordinates, lighting normal vectors and texture coordinates as output. GLE uses the GL or OpenGL API's to perform the actual rendering. << DescUsage: 'man gle' for an introduction and refs to the other manpages. DescPort: << Fixed references to malloc.h (malloc is in stdlib.h on OS X). A boatload of pedantic GCC directive warnings made it difficult to see any serious messages srcroll by, so got rid of -pedantic. Patch generated libtool because the included template is old and generates one which includes flags that prevent prebinding. Also add lots of X lib flags to libgle3 linker so no undefined symbols at link-time. Drop -framework OpenGL so get the newer versions in /usr/X11R6/lib. << Homepage: http://www.linas.org/gle/ License: OSI-Approved Maintainer: Daniel Macks Depends: %N-shlibs (= %v-%r) BuildDepends: fink (>= 0.24.12-1), freeglut, x11-dev BuildDependsOnly: True Source: mirror:sourceforge:gle/gle-%v.tar.gz Source-MD5: da5b45c6906343d4a3672c3de35513ad PatchFile: %n.patch PatchFile-MD5: 7c2497d0a73254c6199be5165ccc0286 PatchScript: << %{default_script} perl -pi.bak -e 's/^#include /#include /' `grep -l -r malloc.h .` perl -pi.bak -e 's|/doc/gle/|/doc/%n/|' `find . -name Makefile.in` perl -pi.bak -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure << ConfigureParams: --mandir=%p/share/man --x-includes=/usr/X11R6/include --disable-dependency-tracking SetLDFLAGS: -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib SetLIBS: -L%p/lib CompileScript: << ./configure %c perl -pi.bak -e 's,-undefined suppress,,g; s,-flat_namespace,,g' libtool make << InstallScript: << make install DESTDIR=%d rm %i/share/doc/gle3/gle-3.0.lsm << # 'make install' takes care of most of the doc files (for the main package) DocFiles: src/COPYING.src SplitOff: << Package: %N-shlibs Description: GLE tubing and extrusion library (runtime code) Depends: freeglut-shlibs, x11 Files: lib/libgle.*.dylib Shlibs: %p/lib/libgle.3.dylib 5.0.0 gle3-shlibs (>= 3.1.0-13) DocFiles: AUTHORS COPYING doc/COPYING.artistic src/COPYING.src README <<