           SPELL=mesalib
if  [[  "$MESALIB_GIT"  ==  "y"  ]];  then
  if  [[  "$MESALIB_GIT_AUTOUPDATE"  ==  "y"  ]];  then
         VERSION=$(date +%Y%m%d)
  else
         VERSION=git
  fi
          SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/mesalib-git
  FORCE_DOWNLOAD="on"
   SOURCE_URL[0]=git://anongit.freedesktop.org/git/mesa/mesa:mesalib-git
   SOURCE_IGNORE=volatile
else
         VERSION=7.0.3
          SOURCE=MesaLib-${VERSION}.tar.bz2
   SOURCE_URL[0]=${SOURCEFORGE_URL}/mesa3d/${SOURCE}
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/Mesa-${VERSION}
     SOURCE_HASH=sha512:e1b4cf8f944e902b1449726229cbb7240860abfef498f1882bf1872ed6172af5bafb75b7433c5f3f7ba0782fa13bd8044de4ef5f2d80ea6fb9f5955e0d4d709a
fi
      LICENSE[0]=GPL
        WEB_SITE=http://mesa3d.sourceforge.net/
        KEYWORDS="graphics libs"
         ENTERED=20021120
           SHORT="Mesa implementation of the OpenGL(TM) API"
cat << EOF
Mesa is a 3-D graphics library with an API which is very similar to
that of OpenGL.* To the extent that Mesa utilizes the OpenGL command
syntax or state machine, it is being used with authorization from
Silicon Graphics, Inc.(SGI). However, the author does not possess an
OpenGL license from SGI, and makes no claim that Mesa is in any way a
compatible replacement for OpenGL or associated with SGI. Those who
want a licensed implementation of OpenGL should contact a licensed
vendor.
EOF
