ladybird/Ports/SDL2_ttf/package.sh
2021-03-13 13:13:03 +01:00

14 lines
423 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"
depends="SDL2 freetype"
configure() {
run ./configure \
--host="${SERENITY_ARCH}-pc-serenity" \
--with-sdl-prefix="${SERENITY_BUILD_DIR}/Root/usr" \
LIBS="-lgui -lgfx -lipc -lcore -lcompress"
}