mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
34 lines
732 B
Bash
Executable File
34 lines
732 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port='sdl12-compat'
|
|
version='1.2.64'
|
|
workdir="sdl12-compat-release-${version}"
|
|
useconfigure='true'
|
|
files=(
|
|
"https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-${version}.tar.gz#3e308e817c7f0c6383225485e9a67bf1119ad684b8cc519038671cc1b5d29861"
|
|
)
|
|
depends=(
|
|
'SDL2'
|
|
)
|
|
|
|
configure() {
|
|
run cmake \
|
|
-B 'build' \
|
|
-DCMAKE_TOOLCHAIN_FILE="${SERENITY_BUILD_DIR}/CMakeToolchain.txt" \
|
|
-DCMAKE_BUILD_TYPE='Release' \
|
|
-DCMAKE_INSTALL_PREFIX="${SERENITY_INSTALL_ROOT}/usr/local/"
|
|
}
|
|
|
|
build() {
|
|
(
|
|
cd ${workdir}/build/
|
|
make "${makeopts[@]}"
|
|
)
|
|
}
|
|
|
|
install() {
|
|
(
|
|
cd ${workdir}/build/
|
|
make install
|
|
)
|
|
}
|