ladybird/Ports/zstd/package.sh

18 lines
428 B
Bash
Raw Normal View History

2021-01-22 16:44:05 +00:00
#!/usr/bin/env -S bash ../.port_include.sh
port='zstd'
version='1.5.2'
2023-07-10 11:10:29 +00:00
files=(
"https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz#7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0"
2023-07-10 11:10:29 +00:00
)
useconfigure='true'
configure() {
run cmake \
-S 'build/cmake' \
-DCMAKE_TOOLCHAIN_FILE="${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
}
install() {
run make install
}