Magellan Linux

Diff of /smage/trunk/core/glproto/glproto-1.4.11-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 485 by niro, Fri May 7 16:32:20 2010 UTC revision 486 by niro, Fri May 7 16:33:33 2010 UTC
# Line 12  HOMEPAGE="http://xorg.freedesktop.org" Line 12  HOMEPAGE="http://xorg.freedesktop.org"
12    
13  sminclude xorg multilib mtools  sminclude xorg multilib mtools
14    
 DEPEND=">= x11-base/opengl-update-magellan-2"  
   
15  UP2DATE="updatecmd_xorg ${PNAME}"  UP2DATE="updatecmd_xorg ${PNAME}"
   
 src_install()  
 {  
  mmake DESTDIR=${BINDIR} install || die  
   
  # dynamic opengl setup  
  minstalldir /usr/$(mlibdir)/opengl/xorg/include || die  
   
  local i  
  for i in ${BINDIR}/usr/include/GL/{glxtokens.h,glxmd.h,glxproto.h}  
  do  
  if [ -f ${i} -o -L ${i} ]  
  then  
  mv -f ${i} ${BINDIR}/usr/$(mlibdir)/opengl/xorg/include || die "${i}"  
  fi  
  done  
 }  
   
 postinstall()  
 {  
  ${MROOT}/usr/sbin/opengl-update --use-old xorg  
 }  

Legend:
Removed from v.485  
changed lines
  Added in v.486