d66805a36d
Signed-off-by: Matthias Reichl <hias@horus.com>
22 lines
921 B
Makefile
22 lines
921 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-virtualjaguar"
|
|
PKG_VERSION="263c979be4ca757c43fb525bd6f0887998e57041"
|
|
PKG_SHA256="488717293e737a602be6f5550df21064314fee422e144c62b3f92e63a6222b30"
|
|
PKG_LICENSE="GPLv3"
|
|
PKG_SITE="https://github.com/libretro/virtualjaguar-libretro"
|
|
PKG_URL="https://github.com/libretro/virtualjaguar-libretro/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain kodi-platform"
|
|
PKG_LONGDESC="Port of Virtual Jaguar to Libretro"
|
|
|
|
PKG_LIBNAME="virtualjaguar_libretro.so"
|
|
PKG_LIBPATH="${PKG_LIBNAME}"
|
|
PKG_LIBVAR="VIRTUALJAGUAR_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
|
|
}
|