1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 05:20:45 +00:00
serenity/Ports/fluidsynth/package.sh
2024-05-13 00:15:21 +02:00

30 lines
592 B
Bash
Executable File

#!/usr/bin/env -S bash ../.port_include.sh
port='fluidsynth'
version='2.3.5'
useconfigure='true'
configopts=(
'-G Ninja'
"-S fluidsynth-${version}"
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
)
files=(
"https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v${version}.tar.gz#f89e8e983ecfb4a5b4f5d8c2b9157ed18d15ed2e36246fa782f18abaea550e0d"
)
depends=(
'glib'
)
configure() {
cmake \
"${configopts[@]}" \
-B fluidsynth-build
}
build() {
ninja -C fluidsynth-build
}
install() {
ninja -C fluidsynth-build install
}