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