serenity/Ports/libopenal/package.sh
Tim Schumacher c07f91474d Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and
configopts, and at that point we should also convert depends and
auth_opts to avoid confusion.
2021-10-05 02:13:08 +02:00

19 lines
555 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=libopenal
useconfigure=true
version=1.21.1
workdir="openal-soft-${version}"
depends=("ffmpeg")
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
files="https://openal-soft.org/openal-releases/openal-soft-${version}.tar.bz2 openal-soft-${version}.tar.bz2 c8ad767e9a3230df66756a21cc8ebf218a9d47288f2514014832204e666af5d8"
auth_type=sha256
configure() {
run cmake "${configopts[@]}"
}
install() {
# Paths are incorrect when we specify DESTDIR here
run make install
}