1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 10:26:23 +00:00
Lakka-LibreELEC/packages/lakka/libretro_cores/hatari/package.mk

22 lines
652 B
Makefile

PKG_NAME="hatari"
PKG_VERSION="a4c9eb0bb79e47a2870c12b04566c1f8d25e4bf3"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/hatari"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="New rebasing of Hatari based on Mercurial upstream. Tries to be a shallow fork for easy upstreaming later on."
PKG_TOOLCHAIN="make"
PKG_MAKE_OPTS_TARGET="-C ../ -f Makefile.libretro"
pre_make_target() {
if [ "${ARCH}" = "arm" ]; then
CFLAGS+=" -DNO_ASM -DARM -D__arm__ -DARM_ASM -DNOSSE -DARM_HARDFP"
fi
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/lib/libretro
cp -v ../hatari_libretro.so ${INSTALL}/usr/lib/libretro/
}