forked from libretro/Lakka-LibreELEC
27 lines
952 B
Makefile
27 lines
952 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-vice_xvic"
|
|
PKG_VERSION="86eca8b0a64aa4ca442e696e75d43de19b9556d3"
|
|
PKG_SHA256="74a6d1adf10fa0e53416b07875af4c84ebcaef14d40636cfc328db925cdc8335"
|
|
PKG_LICENSE="GPLv2"
|
|
PKG_SITE="https://github.com/libretro/vice-libretro"
|
|
PKG_URL="https://github.com/libretro/vice-libretro/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="Versatile Commodore 8-bit Emulator version"
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
PKG_LIBNAME="vice_xvic_libretro.so"
|
|
PKG_LIBPATH="${PKG_LIBNAME}"
|
|
PKG_LIBVAR="VICE-XVIC_LIB"
|
|
|
|
make_target() {
|
|
make EMUTYPE=xvic
|
|
}
|
|
|
|
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
|
|
}
|