1
0
This repository has been archived on 2024-11-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2023-01-29 10:30:44 +01:00

26 lines
827 B
Makefile

PKG_NAME="tic80"
PKG_VERSION="2a662a0ad38514210c313b518f7691aab227c06c"
PKG_LICENSE="GPLv3"
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."
PKG_TOOLCHAIN="cmake"
PKG_CMAKE_OPTS_TARGET="-DBUILD_PLAYER=OFF \
-DBUILD_SDL=OFF \
-DBUILD_SOKOL=OFF \
-DBUILD_DEMO_CARTS=OFF \
-DBUILD_LIBRETRO=ON \
-DBUILD_WITH_MRUBY=OFF \
-DCMAKE_BUILD_TYPE=Release"
pre_configure_target() {
PKG_CMAKE_SCRIPT="${PKG_BUILD}/CMakeLists.txt"
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp -v lib/tic80_libretro.so ${INSTALL}/usr/lib/libretro/
}