mirror of
https://github.com/RGBCube/serenity
synced 2025-07-14 15:17:36 +00:00

Ports using CMake already install into the right place, so we don't need to do the usual port system DESTDIR override.
16 lines
388 B
Bash
Executable file
16 lines
388 B
Bash
Executable file
#!/bin/bash ../.port_include.sh
|
|
port=SDL2
|
|
version=serenity-git
|
|
workdir=SDL-master-serenity
|
|
useconfigure=true
|
|
curlopts="-L"
|
|
files="https://github.com/SerenityOS/SDL/archive/master-serenity.tar.gz SDL2-git.tar.gz"
|
|
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMakeToolchain.txt -DPULSEAUDIO=OFF"
|
|
|
|
configure() {
|
|
run cmake $configopts
|
|
}
|
|
|
|
install() {
|
|
run make install
|
|
}
|