mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
d94a374001
Libenet is a UDP networking library that is used by Love2D, a game framework I would like to port.
19 lines
433 B
Bash
Executable file
19 lines
433 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port='libenet'
|
|
version='1.3.17'
|
|
useconfigure='true'
|
|
files=(
|
|
"http://sauerbraten.org/enet/download/enet-${version}.tar.gz#a38f0f194555d558533b8b15c0c478e946310022d0ec7b34334e19e4574dcedc"
|
|
)
|
|
configopts=(
|
|
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
|
)
|
|
workdir="enet-${version}"
|
|
|
|
configure() {
|
|
run cmake "${configopts[@]}"
|
|
}
|
|
|
|
install() {
|
|
run make install
|
|
}
|