1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 08:06:25 +00:00
Lakka-LibreELEC/packages/lakka/libretro_cores/bsnes/package.mk
2023-08-29 16:01:31 +03:00

20 lines
559 B
Makefile

PKG_NAME="bsnes"
PKG_VERSION="591b7e13b6914beffaa01084e4c0b7a5d9cc0673"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/bsnes"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Super Nintendo (Super Famicom) emulator"
PKG_TOOLCHAIN="make"
PKG_MAKE_OPTS_TARGET="-C bsnes -f GNUmakefile target=libretro platform=linux local=false"
pre_make_target() {
PKG_MAKE_OPTS_TARGET+=" compiler=${CXX}"
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp -v bsnes/out/bsnes_libretro.so ${INSTALL}/usr/lib/libretro/
}