. "$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.8.1
     SOURCE_HASH=sha512:dd8332b7a2cbabb4716c01feea422f83b4a7020c1bee20551de139c3285ea0e0ceadfa4171c6f5187448c8ddc53e0ec4728697d0a985ee0c3ff4835b94f6af6f
          SOURCE=${SPELL}-${VERSION}.tar.gz
      SOURCE_URL=https://github.com/libunwind/libunwind/archive/refs/tags/v$VERSION.tar.gz
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
