mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-01-07 12:38:21 +00:00
25 lines
1.0 KiB
Makefile
25 lines
1.0 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-stella"
|
|
PKG_VERSION="274490128fea1d3c492bdd38ac14333235126ae3"
|
|
PKG_SHA256="9766e3eb5bdcad48f6b14dc8dc8e635539eafcdfbe1a40e8075ff9e8b460c7a5"
|
|
PKG_LICENSE="GPLv2"
|
|
PKG_SITE="https://github.com/stella-emu/stella"
|
|
PKG_URL="https://github.com/stella-emu/stella/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL)."
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
PKG_LIBNAME="stella_libretro.so"
|
|
PKG_LIBPATH="../src/os/libretro/${PKG_LIBNAME}"
|
|
PKG_LIBVAR="STELLA_LIB"
|
|
|
|
PKG_MAKE_OPTS_TARGET="-C ../src/os/libretro -f Makefile"
|
|
|
|
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
|
|
}
|