distribution/packages/games/libretro/mesen/package.mk
2022-08-22 17:02:24 -04:00

25 lines
762 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="mesen"
PKG_VERSION="4026a25a993d5536d4aad135c24738eaf9f0f7eb"
PKG_SHA256="52d9ea2ceb3d9f8a2c12509fae145877ec1736b72895fda9b01862923c30cb67"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/Mesen"
PKG_URL="$PKG_SITE/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_SHORTDESC="Mesen is a cross-platform NES/Famicom emulator for Windows & Linux built in C++ and C#."
PKG_TOOLCHAIN="make"
make_target() {
make -C Libretro/
}
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/libretro
cp Libretro/mesen_libretro.so $INSTALL/usr/lib/libretro/
}