summaryrefslogtreecommitdiff
path: root/Ports/libopenal/package.sh
blob: 59ddb4a1bf34b1544cde112f28d8ec9e4fe88c2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
}