           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.4.4
     SOURCE_HASH=sha512:cb3a9abba1b4594341ad6e0bd17fbd613913b7348648c2269c855ff9ab10452784f479fdd7368fbdc56460354c3b9d48b6db82c56852b3b761240fe754e49c5f
          SOURCE=MesaLib-${VERSION}.tar.bz2
   SOURCE_URL[0]=${SOURCEFORGE_URL}/mesa3d/${SOURCE}
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/Mesa-${VERSION}
#      SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME"
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
