2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2019-present asakous (https://github.com/asakous)
|
|
|
|
|
2023-03-17 21:06:43 +00:00
|
|
|
PKG_NAME="xmil-lr"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_VERSION="b07506c0cae31d260db28cb079148857d6ca2e93"
|
|
|
|
PKG_REV="1"
|
|
|
|
PKG_ARCH="any"
|
|
|
|
PKG_LICENSE="Unknown"
|
|
|
|
PKG_SITE="https://github.com/r-type/xmil-libretro"
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_URL="${PKG_SITE}.git"
|
2022-02-05 14:23:32 +00:00
|
|
|
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() {
|
2023-02-24 13:53:43 +00:00
|
|
|
cd ${PKG_BUILD}
|
2022-02-05 14:23:32 +00:00
|
|
|
make -C libretro
|
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target() {
|
2023-02-24 13:53:43 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/lib/libretro
|
|
|
|
cp ${PKG_BUILD}/libretro/x1_libretro.so ${INSTALL}/usr/lib/libretro/
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|