serenity/Ports/SDL2/package.sh
Andreas Kling aa2e19e58f Ports: Update relocated ports
Port repos have been moved to the new SerenityPorts organization on
GitHub, to declutter the main SerenityOS organization.
2021-08-30 20:18:07 +02:00

16 lines
400 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=SDL2
version=git
workdir=SDL-main-serenity
useconfigure=true
files="https://github.com/SerenityPorts/SDL/archive/main-serenity.tar.gz SDL2-git.tar.gz"
configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_SOURCE_DIR}/Toolchain/CMake/CMakeToolchain.txt -DPULSEAUDIO=OFF -DJACK=OFF"
configure() {
run cmake $configopts
}
install() {
run make install
}