ladybird/Ports/SDL2_ttf/package.sh

15 lines
451 B
Bash
Raw Normal View History

2021-03-07 19:45:41 +03:00
#!/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 -lcompression"
}