serenity/Ports/SDL2_mixer/package.sh
2021-03-08 13:15:35 +01:00

23 lines
564 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=SDL2_mixer
version=2.0.4
useconfigure=true
files="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${version}.tar.gz SDL2_mixer-${version}.tar.gz"
workdir="SDL2_mixer-$version"
depends="SDL2"
configure() {
run ./configure \
--host=${SERENITY_ARCH}-pc-serenity \
--with-sdl-prefix=${SERENITY_ROOT}/Build/Root/usr \
EXTRA_LDFLAGS="-lgui -lgfx -lipc -lcore -lcompression"
}
build() {
run make -k
}
install() {
run make -k DESTDIR="$SERENITY_ROOT"/Build/Root install
}