2021-07-09 04:59:58 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=libuv
|
2022-04-01 04:39:46 +03:00
|
|
|
version=1.44.1
|
2021-07-09 04:59:58 +03:00
|
|
|
useconfigure=true
|
2022-04-01 04:39:46 +03:00
|
|
|
files="https://github.com/libuv/libuv/archive/refs/tags/v$version.tar.gz $port-$version.tar.gz e91614e6dc2dd0bfdd140ceace49438882206b7a6fb00b8750914e67a9ed6d6b"
|
2021-07-09 04:59:58 +03:00
|
|
|
auth_type=sha256
|
2021-11-03 17:29:23 +03:00
|
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja" "-DCMAKE_BUILD_WITH_INSTALL_RPATH=true")
|
2021-07-09 04:59:58 +03:00
|
|
|
|
|
|
|
configure() {
|
2021-09-27 01:16:18 +03:00
|
|
|
run cmake "${configopts[@]}" .
|
2021-07-09 04:59:58 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
run ninja
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
run ninja install
|
|
|
|
}
|