35 lines
740 B
Makefile
35 lines
740 B
Makefile
PKG_NAME="boom3"
|
|
PKG_VERSION="0bea79abf5ec8262dfe9af73cb8c54ea6e2aeb98"
|
|
PKG_LICENSE="GPLv2"
|
|
PKG_SITE="https://github.com/libretro/boom3"
|
|
PKG_URL="${PKG_SITE}.git"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_LONGDESC="Dhewm 3(Doom 3 Source Port) Libretro Core"
|
|
PKG_TOOLCHAIN="make"
|
|
|
|
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGL}"
|
|
fi
|
|
|
|
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
|
|
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
|
fi
|
|
|
|
pre_make_target() {
|
|
cd ${PKG_BUILD}/neo
|
|
}
|
|
|
|
make_target() {
|
|
if [ "${PROJECT}" = "L4T" -a "${L4T_DEVICE_TYPE}" = "t210" ]; then
|
|
make platform=tegra210
|
|
else
|
|
make
|
|
fi
|
|
}
|
|
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/lib/libretro
|
|
cp -v boom3_libretro.so ${INSTALL}/usr/lib/libretro/
|
|
}
|