summaryrefslogtreecommitdiff
path: root/Ports/SDL_sound/package.sh
diff options
context:
space:
mode:
authorxSlendiX <gamingxslendix@gmail.com>2021-09-19 22:46:10 +0300
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-10-10 15:26:05 -0700
commit6782cf519370c09781b14559c83f156e82792f72 (patch)
tree05803f9e5794e25f5c086e7e6e2c023d725df83b /Ports/SDL_sound/package.sh
parentf573b7b47a7d9b84e027d8feaceb647251f86442 (diff)
downloadserenity-6782cf519370c09781b14559c83f156e82792f72.zip
Ports: Add SDL_sound
Diffstat (limited to 'Ports/SDL_sound/package.sh')
-rwxr-xr-xPorts/SDL_sound/package.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/Ports/SDL_sound/package.sh b/Ports/SDL_sound/package.sh
new file mode 100755
index 0000000000..e12fd21b93
--- /dev/null
+++ b/Ports/SDL_sound/package.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=SDL_sound
+version=git
+workdir=SDL_sound-main
+useconfigure=true
+deps="SDL2"
+files="https://github.com/icculus/SDL_sound/archive/refs/heads/main.zip main.zip f8a322d090a172b9c66a41758f7ece850a8ff231058733a13e44bc380342651b"
+auth_type=sha256
+configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
+
+configure() {
+ run cmake $configopts
+}
+
+install() {
+ run make install
+}