ladybird/Ports/SDL2_sound/package.sh
2022-10-27 13:16:59 +02:00

18 lines
526 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port='SDL2_sound'
version='git'
_commit='301135a6d0d9bb77c9da0b7f809e9a10d579610f'
workdir="SDL_sound-${_commit}"
useconfigure='true'
depends=('SDL2')
files="https://github.com/icculus/SDL_sound/archive/${_commit}.zip ${_commit}.zip d29f90dd5abacf9f818f0b1567fab6b3dc6292d0a942e8e8d1e8f84130eea7a1"
auth_type='sha256'
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
configure() {
run cmake "${configopts[@]}"
}
install() {
run make install
}