distribution/packages/games/libretro/mesen/package.mk

26 lines
762 B
Makefile
Raw Normal View History

2022-05-23 17:10:39 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="mesen"
2022-07-28 15:07:14 +00:00
PKG_VERSION="b7278942e0a20f2856c594226f146115d02fab20"
PKG_SHA256="249e731488dbe7823f707c256fe60eb6b75f45cff54adeead193263520ce0d0a"
2022-05-23 17:10:39 +00:00
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/
}