Files
banan-os/ports/tinygb/build.sh
Bananymous c7eb2dbdf3 ports: Replace SDL2 with sdl2-compat
There is no need to keep two SDL versions around
2026-07-05 00:24:20 +03:00

20 lines
398 B
Bash
Executable File

#!/bin/bash ../install.sh
NAME='tinygb'
VERSION='git'
DOWNLOAD_URL="https://github.com/jewelcodes/tinygb.git#57fdaff675a6b5b963b2b6624868d9698eabe375"
DEPENDENCIES=('sdl2-compat')
configure() {
sed -i "s|shell sdl2-config|shell $BANAN_SYSROOT/usr/bin/sdl2-config|g" Makefile
make clean
}
build() {
make CC="$CC" LD="$CC" || exit 1
}
install() {
cp -v tinygb "$DESTDIR/usr/bin/" || exit 1
}