1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Lakka-rk322x/packages/lakka/libretro_cores/craft/package.mk
2023-01-29 10:30:44 +01:00

25 lines
678 B
Makefile

PKG_NAME="craft"
PKG_VERSION="fce88570e83003b24cce34085928c890adae141d"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/libretro/Craft"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A simple Minecraft clone written in C using modern OpenGL (shaders)."
PKG_TOOLCHAIN="make"
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro -C ../"
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL}"
fi
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
PKG_MAKE_OPTS_TARGET+=" FORCE_GLES=1"
fi
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp -v ../craft_libretro.so ${INSTALL}/usr/lib/libretro/
}