. "$GRIMOIRE/FUNCTIONS"
           SPELL=libunwind
if [[ $LIBUNWIND_BRANCH == scm ]];then
         VERSION="$(get_scm_version)"
          SOURCE=$SPELL-git.tar.bz2
  FORCE_DOWNLOAD=on
      SOURCE_URL=git://git.sv.gnu.org/libunwind.git
   SOURCE_IGNORE=volatile
else
         VERSION=1.5.0
        XVERSION=$(echo $VERSION|cut -f1,2 -d.)
     SOURCE_HASH=sha512:1df20ca7a8cee2f2e61294fa9b677e88fec52e9d5a329f88d05c2671c69fa462f6c18808c97ca9ff664ef57292537a844f00b18d142b1938c9da701ca95a4bab
          SOURCE=${SPELL}-${VERSION}.tar.gz
      SOURCE_URL=https://github.com/$SPELL/$SPELL/releases/download/v$XVERSION/$SOURCE
fi
            DOCS="doc/NOTES $DOCS"
        DOC_DIRS=""
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
        WEB_SITE=http://www.nongnu.org/libunwind/
         ENTERED=20090421
      LICENSE[0]=MIT
           SHORT="A portable and efficient API to determine the call-chain of a program."
cat << EOF
The primary goal of this project is to define a portable and efficient C
programming interface (API) to determine the call-chain of a program. The
API additionally provides the means to manipulate the preserved (callee-
saved) state of each call-frame and to resume execution at any point in the
call-chain (non-local goto). The API supports both local (same-process) and
remote (across-process) operation. As such, the API is useful in a number
of applications.
EOF
