mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-14 18:30:38 +00:00
28 lines
567 B
Bash
Executable file
28 lines
567 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port='ccache'
|
|
version='4.8.3'
|
|
useconfigure='true'
|
|
files=(
|
|
"https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}.tar.gz#d59dd569ad2bbc826c0bc335c8ebd73e78ed0f2f40ba6b30069347e63585d9ef"
|
|
)
|
|
depends=(
|
|
'zstd'
|
|
)
|
|
configopts=(
|
|
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
|
'-DCMAKE_BUILD_TYPE=Release'
|
|
'-DREDIS_STORAGE_BACKEND=OFF'
|
|
'-GNinja'
|
|
)
|
|
|
|
configure() {
|
|
run cmake "${configopts[@]}" .
|
|
}
|
|
|
|
build() {
|
|
run ninja
|
|
}
|
|
|
|
install() {
|
|
run ninja install
|
|
}
|