Skip to content

Commit 2ed64e6

Browse files
authored
Merge pull request #35 from lincolnloop/jannson-from-github
download jansson from github releases
2 parents aff127f + 3ac0d34 commit 2ed64e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bin/package-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ _ROOT = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))
77

88
# if 0: use the upstream version
99
# if >0: append `.post1` / `.a1` as needed
10-
SERIAL = 0
10+
SERIAL = 1
1111

1212

1313
def main() -> int:

pre_build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ else
1717
fi
1818

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

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

0 commit comments

Comments
 (0)