mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 19:19:44 +03:00
7555804572
This makes the port install drop the CMake install files into the sysroot, which is friendlier to macOS users. Homebrew CMake really likes to pick homebrew zstd, even for cross-builds.
19 lines
477 B
Bash
Executable File
19 lines
477 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=zstd
|
|
version=1.5.2
|
|
files="https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz zstd-${version}.tar.gz 7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0"
|
|
auth_type=sha256
|
|
useconfigure='true'
|
|
configopts=(
|
|
"-Sbuild/cmake"
|
|
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
|
)
|
|
|
|
configure() {
|
|
run cmake "${configopts[@]}"
|
|
}
|
|
|
|
install() {
|
|
run make install
|
|
}
|