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/gpsp/package.mk
2023-01-29 10:30:44 +01:00

23 lines
588 B
Makefile

PKG_NAME="gpsp"
PKG_VERSION="2fcbdc1d178735992ef6ca41134e299661bf7169"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/gpsp"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="gpSP for libretro"
PKG_TOOLCHAIN="make"
pre_make_target() {
PKG_MAKE_OPTS_TARGET="CC=${CC}"
if [ "${ARCH}" = "arm" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=armv"
elif [ "${ARCH}" = "aarch64" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=arm64"
fi
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp -v gpsp_libretro.so ${INSTALL}/usr/lib/libretro/
}