d66805a36d
Signed-off-by: Matthias Reichl <hias@horus.com>
26 lines
1.0 KiB
Makefile
26 lines
1.0 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-beetle-supergrafx"
|
|
PKG_VERSION="3cfafe8c684a2f4f4532bcf18e25d2f8760ca45d"
|
|
PKG_SHA256="c825b4cd0d4b03246c33a35ad09b58a64795d7953e58f634e781f978b7cf8e08"
|
|
PKG_LICENSE="GPLv2"
|
|
PKG_SITE="https://github.com/libretro/beetle-supergrafx-libretro"
|
|
PKG_URL="https://github.com/libretro/beetle-supergrafx-libretro/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain kodi-platform"
|
|
PKG_LONGDESC="Standalone port of Mednafen PCE Fast to libretro. This one only emulates a SuperGrafx TG-16"
|
|
|
|
PKG_LIBNAME="mednafen_supergrafx_libretro.so"
|
|
PKG_LIBPATH="${PKG_LIBNAME}"
|
|
PKG_LIBVAR="BEETLE-SUPERGRAFX_LIB"
|
|
|
|
make_target() {
|
|
make
|
|
}
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
|
|
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
|
|
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
|
|
}
|