distribution/packages/games/libretro/xmil/package.mk
2022-02-05 09:23:32 -05:00

27 lines
735 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2019-present asakous (https://github.com/asakous)
PKG_NAME="xmil"
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/
}