ladybird/Ports/SDL2_sound/package.sh

19 lines
526 B
Bash
Raw Normal View History

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