serenity/Ports/SDL2_sound/package.sh

19 lines
526 B
Bash
Raw Normal View History

2021-09-19 22:46:10 +03:00
#!/usr/bin/env -S bash ../.port_include.sh
2022-06-13 13:20:06 +03:00
port='SDL2_sound'
version='git'
_commit='df3fc779774c2c5dc1147239da1af858c88f1a74'
workdir="SDL_sound-${_commit}"
useconfigure='true'
depends=('SDL2')
files="https://github.com/icculus/SDL_sound/archive/${_commit}.zip ${_commit}.zip bf655a03ab96a49c4140e19135433d62893c124330955e85e3dfddbe9963bac2"
2022-06-13 13:20:06 +03:00
auth_type='sha256'
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
2021-09-19 22:46:10 +03:00
configure() {
run cmake "${configopts[@]}"
2021-09-19 22:46:10 +03:00
}
install() {
run make install
}