2021-01-23 05:44:05 +13:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2020-03-14 15:35:02 -04:00
|
|
|
port=zstd
|
2022-03-13 16:45:19 +00:00
|
|
|
version=1.5.2
|
2023-07-10 13:10:29 +02:00
|
|
|
files=(
|
2023-09-02 06:32:27 +02:00
|
|
|
"https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz#7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0"
|
2023-07-10 13:10:29 +02:00
|
|
|
)
|
2022-12-03 09:16:46 -07:00
|
|
|
useconfigure='true'
|
|
|
|
configopts=(
|
|
|
|
"-Sbuild/cmake"
|
|
|
|
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
|
|
|
)
|
|
|
|
|
|
|
|
configure() {
|
|
|
|
run cmake "${configopts[@]}"
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
run make install
|
|
|
|
}
|