2023-06-06 23:03:53 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
|
|
|
|
port='brotli'
|
2023-09-11 14:54:35 +03:00
|
|
|
version='1.1.0'
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-09-11 14:54:35 +03:00
|
|
|
"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"
|
2023-07-10 14:10:29 +03:00
|
|
|
)
|
2023-06-06 23:03:53 +03:00
|
|
|
useconfigure='true'
|
|
|
|
|
|
|
|
configure() {
|
2023-09-11 14:54:35 +03:00
|
|
|
run cmake "${configopts[@]}" .
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
run make "${installopts[@]}" install
|
2023-06-06 23:03:53 +03:00
|
|
|
}
|