mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
Ports: Add libuv
We've had a half-arsed port of libuv inside the cmake port, but let's just port it properly. Note that this pins a specific commit (which is currently the latest commit in their default branch).
This commit is contained in:
parent
727403746f
commit
fcd56f2172
9 changed files with 483 additions and 0 deletions
19
Ports/libuv/package.sh
Executable file
19
Ports/libuv/package.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=libuv
|
||||
version=b12699b1efabfd241324f4ab6cfd6ce576db491e
|
||||
useconfigure=true
|
||||
files="https://github.com/libuv/libuv/archive/$version.tar.gz $port-$version.tar.gz bbbfa2bb50437047efc8fb29c243c914ae0de94107d7cc641c2f84e292904eb5"
|
||||
auth_type=sha256
|
||||
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_SOURCE_DIR/Toolchain/CMake/CMakeToolchain.txt -GNinja"
|
||||
|
||||
configure() {
|
||||
run cmake $configopts .
|
||||
}
|
||||
|
||||
build() {
|
||||
run ninja
|
||||
}
|
||||
|
||||
install() {
|
||||
run ninja install
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue