distribution/packages/emulators/libretro/tic80-lr/package.mk

26 lines
945 B
Makefile
Raw Normal View History

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
2022-02-05 14:23:32 +00:00
2023-04-01 22:58:06 +00:00
PKG_NAME="tic80-lr"
PKG_VERSION="f740bff14921fe2120486c8a233094602032b996"
2023-09-15 21:51:55 +00:00
PKG_LICENSE="MIT"
2022-02-05 14:23:32 +00:00
PKG_SITE="https://github.com/nesbox/TIC-80"
2022-03-20 14:40:45 +00:00
PKG_URL="${PKG_SITE}.git"
2023-09-15 21:51:55 +00:00
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="TIC-80 is a fantasy computer for making, playing and sharing tiny games."
2022-02-05 14:23:32 +00:00
GET_HANDLER_SUPPORT="git"
2023-09-15 21:51:55 +00:00
PKG_CMAKE_OPTS_TARGET="-DBUILD_PLAYER=ON \
2022-02-05 14:23:32 +00:00
-DBUILD_SOKOL=OFF \
-DBUILD_SDL=OFF \
2023-06-22 09:59:44 +00:00
-DBUILD_TOUCH_INPUT=ON \
2022-02-05 14:23:32 +00:00
-DBUILD_DEMO_CARTS=OFF \
2022-03-20 14:40:45 +00:00
-DBUILD_LIBRETRO=ON \
2023-09-15 21:51:55 +00:00
-DBUILD_WITH_MRUBY=OFF \
-DCMAKE_BUILD_TYPE=Release"
2023-07-15 00:04:05 +00:00
2022-02-05 14:23:32 +00:00
makeinstall_target() {
2022-03-20 14:40:45 +00:00
mkdir -p ${INSTALL}/usr/lib/libretro
2023-02-24 13:53:43 +00:00
cp ${PKG_BUILD}/.${TARGET_NAME}/lib/tic80_libretro.so ${INSTALL}/usr/lib/libretro/tic80_libretro.so
2022-02-05 14:23:32 +00:00
}