diff options
Diffstat (limited to 'Ports/SDL2/package.sh')
-rwxr-xr-x | Ports/SDL2/package.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Ports/SDL2/package.sh b/Ports/SDL2/package.sh new file mode 100755 index 0000000000..a1a2c0a8f4 --- /dev/null +++ b/Ports/SDL2/package.sh @@ -0,0 +1,12 @@ +#!/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 +} |