ladybird/Ports/SDL2_sound/package.sh
2023-08-08 19:57:43 +02:00

20 lines
500 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 d29f90dd5abacf9f818f0b1567fab6b3dc6292d0a942e8e8d1e8f84130eea7a1"
)
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
configure() {
run cmake "${configopts[@]}"
}
install() {
run make install
}