mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 07:29:46 +00:00
25 lines
927 B
Makefile
25 lines
927 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-gw"
|
|
PKG_VERSION="0ecff52b11c327af52b22ea94b268c90472b6732"
|
|
PKG_SHA256="f017626d78cbb39911b8c4d9989cb250fdea146f8645a883f10f551e962de243"
|
|
PKG_LICENSE="GPLv3"
|
|
PKG_SITE="https://github.com/libretro/gw-libretro"
|
|
PKG_URL="https://github.com/libretro/gw-libretro/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="A libretro core for Game & Watch simulators"
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
PKG_LIBNAME="gw_libretro.so"
|
|
PKG_LIBPATH="${PKG_LIBNAME}"
|
|
PKG_LIBVAR="GW_LIB"
|
|
|
|
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
|
|
|
|
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
|
|
}
|