summaryrefslogtreecommitdiff
path: root/Ports/libuv/package.sh
blob: e2114e1fa18efc9ab299bcfa57890d6f767e83f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}