84a66d9937
Signed-off-by: Matthias Reichl <hias@horus.com>
26 lines
922 B
Makefile
26 lines
922 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-tgbdual"
|
|
PKG_VERSION="1e0c4f931d8c5e859e6d3255d67247d7a2987434"
|
|
PKG_SHA256="86fdbeec998e751e051fe80ecfd92ed5020b2436e01a4e40815718479174923a"
|
|
PKG_LICENSE="GPLv3"
|
|
PKG_SITE="https://github.com/libretro/tgbdual-libretro"
|
|
PKG_URL="https://github.com/libretro/tgbdual-libretro/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain kodi-platform"
|
|
PKG_LONGDESC="game.libretro.tgbdual: tgbdual for Kodi"
|
|
|
|
PKG_LIBNAME="tgbdual_libretro.so"
|
|
PKG_LIBPATH="${PKG_LIBNAME}"
|
|
PKG_LIBVAR="TGBDUAL_LIB"
|
|
|
|
make_target() {
|
|
make
|
|
}
|
|
|
|
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
|
|
}
|