# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/glut/glut.conf # Copyright (C) 2004 - 2022 The T2 SDE Project # Copyright (C) 1998 - 2003 ROCK Linux Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- var_append CC_WRAPPER_REMOVE " " "-m486" var_append GCC_WRAPPER_INSERT " " "-L$root/usr/X11/${libdir##*/}" glut_main() { chmod -R +w * cp -f linux/Glut.cf . ./mkmkfiles.imake cd lib cp -fv $confdir/Makefile.data glut/Makefile $MAKE cp -vf glut/libglut.so.3.7 $root$libdir/ ln -sf libglut.so.3.7 $root$libdir/libglut.so.3 ln -sf libglut.so.3.7 $root$libdir/libglut.so cd .. # this hack is needed because /usr/include/GL is a sym-link ... cp -rfv include/GL/* $root/usr/include/GL cp -rfv include/mui $root/usr/include } makeopt= makeinstopt= hook_add inmake 5 "glut_main"