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

25 lines
939 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-fceumm"
PKG_VERSION="8a49aa542215d986b176e6399c5f5186378dc650"
PKG_SHA256="1b348dcc142b6f215d002baec3c12c034b45d8d4df8a1755ec8f23af8b34799f"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/libretro-fceumm"
PKG_URL="https://github.com/libretro/libretro-fceumm/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of FCEUmm / FCEUX to Libretro."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="fceumm_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="FCEUMM_LIB"
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
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
}