distribution/packages/emulators/libretro/mesen-lr/package.mk

25 lines
695 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)
2023-03-17 21:06:43 +00:00
PKG_NAME="mesen-lr"
PKG_VERSION="d25d60fc190f3f7603a1113ef1e11d9da65b7583"
2022-05-23 17:10:39 +00:00
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/Mesen"
2023-02-24 13:53:43 +00:00
PKG_URL="${PKG_SITE}/archive/${PKG_VERSION}.tar.gz"
2022-05-23 17:10:39 +00:00
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() {
2023-02-24 13:53:43 +00:00
mkdir -p ${INSTALL}/usr/lib/libretro
cp Libretro/mesen_libretro.so ${INSTALL}/usr/lib/libretro/
2022-05-23 17:10:39 +00:00
}