1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 16:06:19 +00:00
Lakka-LibreELEC/packages/emulation/libretro-beetle-pce/package.mk
2023-04-10 16:12:06 +02:00

25 lines
968 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-beetle-pce"
PKG_VERSION="c01874a3f313624624b0a119883b697e0d1b3bea"
PKG_SHA256="5336d19bc903a08d54100afebc7b84cf078e15afccda66aab326afa81b9001b8"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-pce-libretro"
PKG_URL="https://github.com/libretro/beetle-pce-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Standalone port of Mednafen PCE to libretro."
PKG_TOOLCHAIN="make"
PKG_MAKE_OPTS_TARGET="HAVE_CDROM=1"
PKG_LIBNAME="mednafen_pce_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BEETLE-FAST_LIB"
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
}