25 lines
945 B
Makefile
25 lines
945 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
|
|
|
PKG_NAME="tic80-lr"
|
|
PKG_VERSION="f83a769e63783aac848cb1084450064c16ce0b83"
|
|
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
|
|
}
|