. "$GRIMOIRE/FUNCTIONS"
           SPELL=snappy
if [ "${SNAPPY_BRANCH}" == "scm" ]; then
         VERSION=$(get_scm_version)
          SOURCE=${SPELL}-${SNAPPY_BRANCH}.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${SNAPPY_BRANCH}
  FORCE_DOWNLOAD=on
   SOURCE_URL[0]=git://github.com/google/${SPELL}.git
   SOURCE_IGNORE=volatile
else
         VERSION=1.1.2
     SOURCE_HASH=sha512:da0e80528dfc815d765347c60dc5f14bc7fb882cc6894b87d3a43dec1a127cf8bcfe46e6cb93e130790c0ebd67368a1042500d9080f844441803c1b69c3cc07e
          SOURCE=$SPELL-$VERSION.tar.gz
   SOURCE_URL[0]=http://snappy.googlecode.com/files/$SOURCE
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
fi
        WEB_SITE=http://code.google.com/p/snappy/
      LICENSE[0]=BSD
         ENTERED=20120116
           SHORT="fast compression/decompression library"
cat << EOF
Snappy is a compression/decompression library. It does not aim for maximum
compression, or compatibility with any other compression library; instead,
it aims for very high speeds and reasonable compression.
EOF
