1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:37:35 +00:00

Ports: Add port for libopenal

This commit is contained in:
Gunnar Beutner 2021-05-08 05:52:54 +02:00 committed by Linus Groh
parent 8603041ed8
commit 2d600a8675
2 changed files with 19 additions and 0 deletions

18
Ports/libopenal/package.sh Executable file
View file

@ -0,0 +1,18 @@
#!/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_SOURCE_DIR/Toolchain/CMake/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
}