serenity/Ports/SDL2_ttf/package.sh
2021-03-07 18:14:54 +01:00

15 lines
448 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=SDL2_ttf
version=2.0.15
useconfigure=true
files="https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz"
workdir="SDL2_ttf-$version"
depends="SDL2 freetype"
configure() {
run ./configure \
--host=${SERENITY_ARCH}-pc-serenity \
--with-sdl-prefix=${SERENITY_ROOT}/Build/Root/usr \
LIBS="-lgui -lgfx -lipc -lcore -lcompress"
}