mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-25 09:33:50 +01:00
24 lines
430 B
Bash
Executable File
24 lines
430 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
webp_tar_url=https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.4.tar.gz
|
|
|
|
prepare_source() {
|
|
cd /tmp
|
|
wget "$webp_tar_url"
|
|
tar -xzf /tmp/libwebp-*
|
|
rm /tmp/libwebp-*.tar.gz
|
|
cd /tmp/libwebp-*
|
|
}
|
|
|
|
build_and_install() {
|
|
export MAKEFLAGS=-j`nproc`
|
|
./configure --enable-static --disable-shared
|
|
make
|
|
make install
|
|
}
|
|
|
|
prepare_source
|
|
build_and_install
|