mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 12:41:59 +03:00
Ports: Use CMake to build the zstd port
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.
This commit is contained in:
parent
6d9d9cb7f8
commit
7555804572
Notes:
sideshowbarker
2024-07-17 03:45:26 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/7555804572 Pull-request: https://github.com/SerenityOS/serenity/pull/16293 Reviewed-by: https://github.com/linusg
@ -3,3 +3,16 @@ 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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user