distribution/packages/emulators/libretro/xmil-lr/package.mk
2023-03-17 21:06:43 +00:00

27 lines
748 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2019-present asakous (https://github.com/asakous)
PKG_NAME="xmil-lr"
PKG_VERSION="b07506c0cae31d260db28cb079148857d6ca2e93"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="Unknown"
PKG_SITE="https://github.com/r-type/xmil-libretro"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_SHORTDESC="Libretro port of X Millennium Sharp X1 emulator"
PKG_LONGDESC="Libretro port of X Millennium Sharp X1 emulator"
PKG_TOOLCHAIN="make"
GET_HANDLER_SUPPORT="git"
make_target() {
cd ${PKG_BUILD}
make -C libretro
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp ${PKG_BUILD}/libretro/x1_libretro.so ${INSTALL}/usr/lib/libretro/
}