1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 02:47:35 +00:00

Ports: Add Julius

This commit is contained in:
Justin Brown 2023-08-08 18:54:26 -07:00 committed by Tim Schumacher
parent 51ee37ed76
commit ec0bf937a2
4 changed files with 53 additions and 0 deletions

23
Ports/julius/package.sh Executable file
View file

@ -0,0 +1,23 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='julius'
version='1.7.0'
useconfigure='true'
files=(
"https://github.com/bvschaik/julius/archive/refs/tags/v${version}.tar.gz 3ee62699bcbf6c74fe5a9c940c62187141422a9bd98e01747a554fd77483431f"
)
depends=(
'libpng'
'SDL2'
'SDL2_mixer'
)
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
)
configure() {
run cmake "${configopts[@]}" .
}
install() {
run make "${installopts[@]}" install
}