           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.2
          SOURCE=MesaLib-${VERSION}.tar.bz2
   SOURCE_URL[0]=${SOURCEFORGE_URL}/mesa3d/${SOURCE}
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/Mesa-${VERSION}
     SOURCE_HASH=sha512:a69707bc16e0580d7ab7b45ff77d61c8209657545751a3cf2ad2b2e4edd1a153a2bb4c629d276636d3ee4d9d79c71f435f536bc07e7ef44e481816a1ab0b3dc7
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
