1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 12:47:47 +00:00

Ports/brotli: Update to 1.1.0

This commit is contained in:
Lucas CHOLLET 2023-09-11 13:54:35 +02:00 committed by Tim Schumacher
parent 7a993cad7a
commit 48a1fe8308
2 changed files with 12 additions and 4 deletions

View file

@ -1,12 +1,20 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='brotli'
version='1.0.9'
version='1.1.0'
files=(
"https://github.com/google/brotli/archive/refs/tags/v${version}.tar.gz#f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46"
"https://github.com/google/brotli/archive/refs/tags/v${version}.tar.gz#e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff"
)
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
"-DCMAKE_BUILD_TYPE=Release"
)
useconfigure='true'
configure() {
run ./configure-cmake
run cmake "${configopts[@]}" .
}
install() {
run make "${installopts[@]}" install
}