# SPDX-License-Identifier: Apache-2.0 # Copyright (C) 2020-present Fewtarius (https://github.com/fewtarius) PKG_NAME="tic80-lr" PKG_VERSION="a94540fb9824e698590edbf2ba293a7d2f8d4d1a" PKG_LICENSE="MIT" PKG_SITE="https://github.com/nesbox/TIC-80" PKG_URL="${PKG_SITE}.git" PKG_DEPENDS_TARGET="toolchain" PKG_LONGDESC="TIC-80 is a fantasy computer for making, playing and sharing tiny games." GET_HANDLER_SUPPORT="git" PKG_CMAKE_OPTS_TARGET="-DBUILD_PLAYER=ON \ -DBUILD_SOKOL=OFF \ -DBUILD_SDL=OFF \ -DBUILD_TOUCH_INPUT=ON \ -DBUILD_DEMO_CARTS=OFF \ -DBUILD_LIBRETRO=ON \ -DBUILD_WITH_MRUBY=OFF \ -DCMAKE_BUILD_TYPE=Release" makeinstall_target() { mkdir -p ${INSTALL}/usr/lib/libretro cp ${PKG_BUILD}/.${TARGET_NAME}/lib/tic80_libretro.so ${INSTALL}/usr/lib/libretro/tic80_libretro.so }