From d99e9e9c7481455771b803266958a960419ae8e5 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Mon, 10 Jan 2022 00:25:55 +0100 Subject: [PATCH] ci: Add zLib --- scripts/40-zlib.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/40-zlib.sh diff --git a/scripts/40-zlib.sh b/scripts/40-zlib.sh new file mode 100644 index 0000000000..ff50db382b --- /dev/null +++ b/scripts/40-zlib.sh @@ -0,0 +1,8 @@ +function install_zlib() { + curl -L -o "/tmp/zlib.zip" "https://github.com/Xaymar/zlib-ng/releases/download/${ZLIB_VERSION}/zlib-ng-${BUILD_BITS}.zip" + 7z x -o/tmp/zlib/ "/tmp/zlib.zip" + sudo cp -a /tmp/zlib/. /usr/${BUILD_PREFIX}/ + cp -a /tmp/zlib/bin/*.dll ./distrib/bin/ +} + +install_zlib