mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 08:26:18 +00:00
23 lines
899 B
Makefile
23 lines
899 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-a5200"
|
|
PKG_VERSION="44455983830bb19513bf531388ba8f7cde9e50ab"
|
|
PKG_SHA256="f83b91936527f5473b15b0ff1a29dab1f01218606ab72696b2312c475d0bd110"
|
|
PKG_LICENSE="GPL2"
|
|
PKG_SITE="https://github.com/libretro/a5200"
|
|
PKG_URL="https://github.com/libretro/a5200/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="Libretro port of Atari 5200 emulator version 2.0.2 for GCW0"
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
PKG_LIBNAME="a5200_libretro.so"
|
|
PKG_LIBPATH="${PKG_LIBNAME}"
|
|
PKG_LIBVAR="A5200_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
|
|
}
|