           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.5.1
     SOURCE_HASH=sha512:6ecbaf918c8dd5fae8852f4fdf26129904bee09c4feb67515d01ce5a48a801425e7b18258a5c4c6ae72fc94c70b9883c80dcf54879dcd4688fa01bd141338364
          SOURCE=MesaLib-${VERSION}.tar.bz2
   SOURCE_URL[0]=ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$SOURCE
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/Mesa-${VERSION}
#      SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME"
fi
      LICENSE[0]=GPL
        WEB_SITE=http://www.mesa3d.org/
        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
