Skip to content

Commit

Permalink
Merge pull request #35 from lincolnloop/jannson-from-github
Browse files Browse the repository at this point in the history
download jansson from github releases
  • Loading branch information
asottile authored Oct 31, 2024
2 parents aff127f + 3ac0d34 commit 2ed64e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/package-version
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _ROOT = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))

# if 0: use the upstream version
# if >0: append `.post1` / `.a1` as needed
SERIAL = 0
SERIAL = 1


def main() -> int:
Expand Down
4 changes: 2 additions & 2 deletions pre_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
fi

JANSSON_HASH=6e85f42dabe49a7831dbdd6d30dca8a966956b51a9a50ed534b82afc3fa5b2f4
JANSSON_DOWNLOAD_URL=http://www.digip.org/jansson/releases
JANSSON_DOWNLOAD_URL=https://github.com/akheron/jansson/releases/download/v2.11/jansson-2.11.tar.gz
JANSSON_ROOT=jansson-2.11

PCRE2_HASH=86b9cb0aa3bcb7994faa88018292bc704cdbb708e785f7c74352ff6ea7d3175b
Expand Down Expand Up @@ -103,7 +103,7 @@ function check_sha256sum {
function build_jansson {
if [ -e jansson-stamp ]; then return; fi
echo "building jansson from $JANSSON_DOWNLOAD_URL"
fetch_unpack "${JANSSON_DOWNLOAD_URL}/${JANSSON_ROOT}.tar.gz"
fetch_unpack "${JANSSON_DOWNLOAD_URL}"
check_sha256sum "${ARCHIVE_SDIR:-archives}/${JANSSON_ROOT}.tar.gz" "${JANSSON_HASH}"
(cd "${JANSSON_ROOT}" \
&& ./configure --prefix="$BUILD_PREFIX" \
Expand Down

0 comments on commit 2ed64e6

Please sign in to comment.