forked from libretro/Lakka-LibreELEC
29 lines
1021 B
Makefile
29 lines
1021 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="libretro-mrboom"
|
|
PKG_VERSION="2d603a2dccff15db944e04ed6a1cefc4750e463f"
|
|
PKG_SHA256="2e30ff53ea0a77062c22cf44f81e4eb8130d3f98757d0c4c0d856a9030eb1a8c"
|
|
PKG_LICENSE="MIT"
|
|
PKG_SITE="https://github.com/libretro/mrboom-libretro"
|
|
PKG_URL="https://github.com/kodi-game/mrboom-libretro/archive/${PKG_VERSION}.tar.gz"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="Mr.Boom is a 8 players Bomberman clone for RetroArch/Libretro"
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
PKG_LIBNAME="mrboom_libretro.so"
|
|
PKG_LIBPATH="${PKG_LIBNAME}"
|
|
PKG_LIBVAR="MRBOOM_LIB"
|
|
|
|
PKG_MAKE_OPTS_TARGET=""
|
|
|
|
if target_has_feature neon ; then
|
|
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=1"
|
|
fi
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
|
|
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
|
|
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
|
|
}
|