CVS: moonbase/graphics/glut BUILD.alpha,NONE,1.1

Veerappan watryac04 at lunar-linux.org
Tue Dec 9 19:49:29 GMT 2003


Update of /var/cvs/lunar/moonbase/graphics/glut
In directory dbguin.lunar-linux.org:/tmp/cvs-serv1971

Added Files:
	BUILD.alpha 
Log Message:
glut now works on the alpha.  porting to other architectures should be 
cake.  this might be all that's needed to get tuxracer working on 
alphas now too.


--- NEW FILE: BUILD.alpha ---
(
     MESA_FIX="s/\$(TOP)\/..\/lib\/libMesa/\/usr\/X11R6\/lib\/lib/"
  SYMBOL_LIBS="-L/usr/X11R6/lib,-lX11,-lGL,-lGLU,-lXi,-lXmu"
   SYMBOL_FIX="s:,libglut.so.3:,libglut.so.3,$SYMBOL_LIBS:"

  sed -i s/i386/alpha/ lib/glut/Makefile &&
  sed -i s/-m486//   lib/glut/Makefile &&
  sed -i s/i386/alpha/ linux/Makefile &&
  sed -i s/-m486//   linux/Makefile &&
  sed -i s/i386/alpha/ man/glut/Makefile &&
  sed -i s/-m486//   man/glut/Makefile &&

  cp     Glut.cf  Glut.cf.bak                                   &&
  sed    $MESA_FIX < linux/Glut.cf > Glut.cf                    &&
  /usr/X11R6/bin/imake -DUseInstalled -I/usr/X11R6/lib/X11/config -DTOPDIR=. &&
  /usr/X11R6/bin/xmkmf -a                                       &&
  cp     lib/glut/Makefile lib/glut/Makefile.bak                &&
  sed    $MESA_FIX    <     linux/Makefile                      |
  sed    $SYMBOL_FIX  >  lib/glut/Makefile                      &&
  cd     lib/glut                                               &&
  make                                                          &&
  prepare_install                                               &&
  ln     -sf libglut.so.3.7  libglut.so.3                       &&
  ln     -sf libglut.so.3.7  libglut.so                         &&
  cp     -d libglut*        /usr/lib                            &&
  cd     ../..                                                  &&
  cp     include/GL/glut.h  /usr/include/GL

) > $C_FIFO 2>&1




More information about the Lunar-commits mailing list