Package: gle3 Version: 3.1.0 Revision: 15 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: glut, x11-dev BuildDependsOnly: True Source: mirror:sourceforge:gle/gle-%v.tar.gz Source-MD5: da5b45c6906343d4a3672c3de35513ad Patch: %n.patch PatchScript: << 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 #SetLDFLAGS: -framework OpenGL 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: x11, glut-shlibs 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 <<