ladybird/Ports/libuv/package.sh
EWouters f0ded32200 Ports/libuv: Update libuv to version 1.44.1
Part of the build-Add-platform-specific-stubs-and-implementation
was upstreamed.
2022-04-11 19:43:56 -07:00

20 lines
510 B
Bash
Executable File

#!/usr/bin/env -S bash ../.port_include.sh
port=libuv
version=1.44.1
useconfigure=true
files="https://github.com/libuv/libuv/archive/refs/tags/v$version.tar.gz $port-$version.tar.gz e91614e6dc2dd0bfdd140ceace49438882206b7a6fb00b8750914e67a9ed6d6b"
auth_type=sha256
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja" "-DCMAKE_BUILD_WITH_INSTALL_RPATH=true")
configure() {
run cmake "${configopts[@]}" .
}
build() {
run ninja
}
install() {
run ninja install
}