mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 17:59:45 +00:00
23 lines
919 B
Makefile
23 lines
919 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-bnes"
|
|
PKG_VERSION="8e26e89a93bef8eb8992d1921b539dce1792660a"
|
|
PKG_SHA256="c151e1296b8f6c035014dc62919692097feeebb19ae73294f1b9781edf1921b1"
|
|
PKG_LICENSE="GPLv3"
|
|
PKG_SITE="https://github.com/libretro/bnes-libretro"
|
|
PKG_URL="https://github.com/libretro/bnes-libretro/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="libretro implementation of bNES/higan. (Nintendo Entertainment System)"
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
PKG_LIBNAME="bnes_libretro.so"
|
|
PKG_LIBPATH="${PKG_LIBNAME}"
|
|
PKG_LIBVAR="BNES_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
|
|
}
|