mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
23 lines
564 B
Bash
Executable file
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
|
|
}
|