. "${GRIMOIRE}/FUNCTIONS"
. "${GRIMOIRE}/CMAKE_FUNCTIONS"
           SPELL="cjson"
if [[ "${CJSON_BRANCH}" == "scm" ]]; then
         VERSION="$(get_scm_version)"
          SOURCE="${SPELL}-scm.tar.xz"
  FORCE_DOWNLOAD="on"
   SOURCE_URL[0]="git_http://github.com/DaveGamble/${SPELL}:${SPELL}-scm:main"
   SOURCE_IGNORE="volatile"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
else
         VERSION="1.7.18"
     SOURCE_HASH="sha512:2accb507c6b97222eb5f0232c015b356cf6d248d1247049928731aa8e897378245e62395c232b1ec57d28d1e53ac72c849be85e59c33616a382d40473649f66b"
          SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/cJSON-${VERSION}"
   SOURCE_URL[0]="https://github.com/DaveGamble/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz"
# Watch: https://github.com/DaveGamble/cjson/tags tags/v([0-9.]+)[.]tar
fi
        WEB_SITE="https://github.com/DaveGamble/cJSON"
         ENTERED="20240526"
      LICENSE[0]="MIT"
        KEYWORDS="jaon c parser"
           SHORT="Ultralightweight JSON parser in ANSI C"
cat << EOF
Ultralightweight JSON parser in ANSI C.
EOF
