distribution/packages/games/libretro/bsnes/package.mk
fewtarius 4acb3fe902
* Continue to work on improving power consumption on battery.
* Update emulators and cores.
* Improve logging in some scripts.
2023-01-19 21:30:33 -05:00

28 lines
750 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="bsnes"
PKG_VERSION="dabf6679024124b2f819c79f279dbb85a5263255"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/bsnes-libretro"
PKG_URL="$PKG_SITE/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="libretro"
PKG_SHORTDESC="BSNES Super Nintendo Libretro Core"
PKG_IS_ADDON="no"
PKG_TOOLCHAIN="make"
PKG_AUTORECONF="no"
if [ ! "${OPENGL}" = "no" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
fi
if [ "${OPENGLES_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp bsnes_libretro.so $INSTALL/usr/lib/libretro/
}