the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: openglut
Version: 0.6.3
Revision: 1
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-MD5: 9075d37d995d9f7dbb06a2e5fd9ffe20
PatchFile: %n.patch
PatchFile-MD5: 727daee92284815d07534fdcc0e7dc6d
BuildDepends: x11-dev, fink (>= 0.24.12-1)
Depends: %n-shlibs (= %v-%r)
Conflicts: glut, freeglut
Replaces: glut, freeglut
SetLDFLAGS: -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
SetCPPFLAGS: -I/usr/X11R6/include
ConfigureParams: --disable-dependency-tracking --enable-fast --mandir=%p/share/man
InstallScript: <<
make install DESTDIR=%d
ln -s libopenglut.dylib %i/lib/libglut.dylib
ln -s libopenglut.a %i/lib/libglut.a
ln -s libopenglut.la %i/lib/libglut.la
ln -s openglut.h %i/include/GL/glut.h
ln -s openglut_exp.h %i/include/GL/glut_exp.h
ln -s openglut_ext.h %i/include/GL/glut_ext.h
ln -s openglut_std.h %i/include/GL/glut_std.h
<<
DocFiles: COPYING ChangeLog OpenGLUT* README
SplitOff: <<
Package: %N-shlibs
Depends: x11
Files: lib/libopenglut.*.dylib
Shlibs: %p/lib/libopenglut.1.dylib 2.0.0 %n (>= 0.6.3-1)
DocFiles: COPYING ChangeLog OpenGLUT* README
<<
DescPackaging: <<
None of the glut/glut-shlibs, freeglut/freeglut-shlibs, and
openglut/openglut-shlibs sets are binary-compatible with each
other. Packages that wish to use a glut lib cannot have alternative
dependencies among these, but need to pick one self-consistent set.
This package builds the openglut libraries named as openglut rather
than glut to allow the co-existance with glut. As with freeglut,
symlinks for the libraries and headers to allow openglut to used as a
drop in replace for glut without requiring changes in the source code
of programs which require glut.
Fix installation location of manpages. See:
http://sourceforge.net/tracker/index.php?func=detail&aid=1773629&group_id=104013&atid=636633
Don't bother installing preformatted manpages.
<<
DescDetail: <<
OpenGLUT is an open source project to evolve the GLUT (OpenGL Utility
Toolkit) C/C++ API. OpenGLUT uses the freeglut code base as a
foundation for extending, enhancing and refining the API.
The longer term goal is to define and implement OpenGLUT API Version
1.0 - intended to supercede the GLUT 3.x API.
<<
Description: OpenGL utility toolkit
Homepage:http://openglut.sourceforge.net
License: OSI-Approved
Maintainer: Daniel Macks